Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LibPDF-js/core
/ saving.bench.ts
File
saving.bench.ts
benchmarks/saving.bench.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
/**
2
* PDF saving benchmarks.
3
*
4
* Tests PDF.save() performance with different scenarios.
Callers
nothing calls this directly
Calls
6
loadFixture
Function · 0.90
getHeavyPdf
Function · 0.90
save
Method · 0.80
drawRectangle
Method · 0.80
load
Method · 0.45
getPage
Method · 0.45
Tested by
no test coverage detected