MCPcopy 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

loadFixtureFunction · 0.90
getHeavyPdfFunction · 0.90
saveMethod · 0.80
drawRectangleMethod · 0.80
loadMethod · 0.45
getPageMethod · 0.45

Tested by

no test coverage detected