Repository navigation
Use copyWithin, rather than a manual loop, for non-overlapping data in FlateStream.prototype.#readBlock - #22220
Conversation
… in `FlateStream.prototype.#readBlock`
Reference testsResults for 7899531 (run, references from mozilla/pdf.js.refs@a13e96fb3f).
The report is kept for 30 days and replaced by the next run. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #22220 +/- ##
==========================================
- Coverage 90.42% 90.34% -0.09%
==========================================
Files 277 277
Lines 68088 68092 +4
==========================================
- Hits 61567 61516 -51
- Misses 6521 6576 +55
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Viewer preview🗑️ Viewer previews removed. |
Merging this PR will improve performance by ×2.9
|
| Benchmark | BASE |
HEAD |
Efficiency | |
|---|---|---|---|---|
| ⚡ | FlateStream: inflate |
72.9 ms | 25.1 ms | ×2.9 |
Tip
Curious why performance improved? Comment @codspeedbot explain why performance improved on this PR, or directly use the CodSpeed MCP with your agent.
Comparing Snuffleupagus:FlateStream-readBlock-copyWithin (7899531) with master (f73a698)
|
Nice ! |
No description provided.