Documentation
¶
Overview ¶
Command benchmark runs an automated performance verification of go-pretty-pdf across multiple book sizes. It builds the real CLI binary, renders real books through it, measures wall time / pages / throughput / live CPU-RAM of the whole process tree (including Chrome), shows an animated readout per export, and writes benchmark-report.json.
Usage:
go run ./scripts/benchmark # default sizes up to 3000 docs go run ./scripts/benchmark --max 2000 go run ./scripts/benchmark --sizes 100,1000,2000 --out /tmp/bench
Click to show internal directories.
Click to hide internal directories.