Skip to content

feat!: Add new streaming versions of parsing APIs#65

Open
scouten wants to merge 3 commits into
mainfrom
parse-from-stream
Open

feat!: Add new streaming versions of parsing APIs#65
scouten wants to merge 3 commits into
mainfrom
parse-from-stream

Conversation

@scouten
Copy link
Copy Markdown
Collaborator

@scouten scouten commented Jan 25, 2026

No description provided.

@scouten scouten self-assigned this Jan 25, 2026
@codspeed-hq
Copy link
Copy Markdown

codspeed-hq Bot commented Jan 25, 2026

Merging this PR will degrade performance by 45.69%

❌ 2 regressed benchmarks
🆕 3 new benchmarks

⚠️ Please fix the performance issues or acknowledge them on CodSpeed.

Performance Changes

Benchmark BASE HEAD Efficiency
parse sample C2PA Manifest Store 339.2 ns 624.4 ns -45.69%
simple data box 368.3 ns 566.1 ns -34.94%
🆕 parse C2PA from cursor N/A 85.2 µs N/A
🆕 simple data box from cursor N/A 1.8 µs N/A
🆕 parse C2PA from file N/A 5 µs N/A

Comparing parse-from-stream (f06dbcf) with main (4405bb2)

Open in CodSpeed

@codecov
Copy link
Copy Markdown

codecov Bot commented Jan 25, 2026

Codecov Report

❌ Patch coverage is 82.08955% with 60 lines in your changes missing coverage. Please review.
✅ Project coverage is 85.79%. Comparing base (4405bb2) to head (f06dbcf).

Files with missing lines Patch % Lines
src/parser/description_box.rs 69.31% 27 Missing ⚠️
src/parser/input_data.rs 67.85% 18 Missing ⚠️
src/parser/super_box.rs 90.66% 7 Missing ⚠️
src/parser/input_slice.rs 87.75% 6 Missing ⚠️
src/parser/data_box.rs 96.87% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##             main      #65       +/-   ##
===========================================
- Coverage   97.50%   85.79%   -11.71%     
===========================================
  Files           9       12        +3     
  Lines         480      746      +266     
===========================================
+ Hits          468      640      +172     
- Misses         12      106       +94     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant