diff options
| author | Gabriel Schneider <[email protected]> | 2026-08-02 23:29:50 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-08-10 09:17:07 -0300 |
| commit | 90eed6a89c66d6243ea43e799113409244308563 (patch) | |
| tree | 70b2842ae1a98ba829aae23c6bee47eb640e6aa1 /test/pdf_bench.zig | |
| parent | f7f18f483483140f1ad0ff0edbe0fb550086b80f (diff) | |
| download | pardes-90eed6a89c66d6243ea43e799113409244308563.tar.gz pardes-90eed6a89c66d6243ea43e799113409244308563.zip | |
render MuPDF pages directly into owned RGBA
Diffstat (limited to 'test/pdf_bench.zig')
| -rw-r--r-- | test/pdf_bench.zig | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/pdf_bench.zig b/test/pdf_bench.zig index a1713d31..1325def5 100644 --- a/test/pdf_bench.zig +++ b/test/pdf_bench.zig @@ -6,10 +6,10 @@ //! zig build pdf-bench -- --path other.pdf --page 2 --pages 6 //! //! The benchmark links the real src/pdf.zig wrapper and C exception bridge in -//! ReleaseFast. Timed regions include MuPDF rasterization, RGBA allocation and -//! RGB-to-RGBA expansion; checksum/free/reporting stay outside. "cold" means a -//! fresh Document and MuPDF page cache (the OS filesystem cache is deliberately -//! uncontrolled), while warm scenarios retain one Document across rounds. +//! ReleaseFast. Timed regions include MuPDF rasterization directly into the +//! allocator-owned RGBA output; checksum/free/reporting stay outside. "cold" +//! means a fresh Document and MuPDF page cache (the OS filesystem cache is +//! deliberately uncontrolled), while warm scenarios retain one Document. const std = @import("std"); const pdf = @import("mupdf"); |
