From 90eed6a89c66d6243ea43e799113409244308563 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Sun, 2 Aug 2026 23:29:50 -0300 Subject: render MuPDF pages directly into owned RGBA --- test/pdf_bench.zig | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'test/pdf_bench.zig') 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"); -- cgit v1.3