Skip to content
PressJetDocs Docs v0.1.0-beta.9 GitHub
Edit this page
Source docs v0.1.0-beta.9 Install v0.1.0-beta.7
On this page

Performance and benchmarks

The numbers below come from recorded repository runs. Each study pins a workload, build, runtime and run configuration. The tables describe those samples and do not define production capacity, minimum memory requirements or latency guarantees.

Warm HTTP renders

The November 30, 2026 invoice run pinned each container to logical CPU 2 of an Intel Core i7-1265U Linux host with a 1 GiB limit. It used one warm-up and 21 sequential timed requests per input and engine at each size, with caching disabled. Poppler checked line items, amounts, totals and page footers for all 504 measured PDFs. Pressjet used the static binary with SHA-256 c375141db2bb89c2e569e30b47f723f2c13d2245e9e6df4e436c9353b7f73257.

500-item invoice Median HTTP p95 HTTP Median CPU Median sampled peak RAM
Pressjet JSON 52.73 ms 92.91 ms 51.97 ms 25.65 MiB
Pressjet HTML 108.21 ms 192.86 ms 107.26 ms 25.65 MiB
jsPDF 4.2.1 133.56 ms 206.17 ms 130.26 ms 47.01 MiB
Gotenberg 9.10.3 536.87 ms 666.30 ms 534.96 ms 573.20 MiB
Browserless Chromium 2.64.4 804.84 ms 1,225.72 ms 800.47 ms 817.73 MiB
Dompdf 3.1.6 902.41 ms 1,647.87 ms 897.26 ms 94.64 MiB
WeasyPrint 70.0 2,419.25 ms 4,225.06 ms 2,405.10 ms 117.82 MiB
react-pdf 4.9.2 2,524.93 ms 3,872.35 ms 2,469.60 ms 173.69 MiB

HTTP time ends after reading all PDF bytes. CPU is the cgroup v2 usage delta, including subprocesses. RAM is the maximum memory.current observed per request, sampled every 5 ms and summarized across requests. It includes service and charged file cache. The services render equivalent invoice content through different authoring inputs and adapters. They can produce different geometry, file sizes and structure. Method and reproduction · Summary CSV · Per-request CSV

Startup, scale and concurrency

Study Observed result and scope
Startup and idle, Nov 29 Seven measured starts took 6.2–6.8 ms from launching pressjet serve to the first local health response, polled every millisecond. The one-worker comparison container reported 2.8 MiB idle after 10 seconds. This was a historical static development build on the i7-1265U host and precedes the current worker warm-up behavior. Raw measurements and method
Page scaling, Nov 29 One, 50, 200 and 500 pages rendered in median 1.7, 86.6, 416.9 and 1,360.0 ms, respectively, on the tested native JSON invoice with five distinct requests per size. CPU per page rose from 1.3 to 2.6 ms. One worker used a 100,000 node cap. The 500-page case needed a 900 MiB worker heap, above the historical 512 MiB setting, and page caps must also accommodate the request. Raw scaling data · Driver
One-page throughput, Nov 29 In separate 20-second local trials, Pressjet served 592.8 PDFs/s with one client (p95 2.2 ms) and 791.0 with eight (p95 13.7 ms). Gotenberg 9.10.3 served 3.52 and 2.59 PDFs/s, respectively. Recorded results and settings · Self-hosting context
Invoice batch Twenty pages took median 36.6 ms and 200 pages took 276.1 ms over seven samples on one pinned logical CPU, with one invoice per page and an embedded logo. Gotenberg 9.10.3 took 425.2 and 1,453.5 ms for equivalent HTML. Versions, validation and reproduction
Mixed workers, Nov 30 One pinned CPU, eight closed-loop clients, short invoices mixed with 47-page leases. A paired rerun compared an earlier build with one FIFO worker and a later build with two workers and a 115 ms wait for small jobs. Measured 64.7 and 80.5 PDFs/s. All twelve later rounds kept invoice p95 under 150 ms. Code changes and queue settings both contribute. Raw results · Driver and checks
Forme lanes, Nov 30 Published Beta 6 and Forme HTML 0.34.1 on native CLI, Node/WASM and Chrome. The 500-item Node/WASM warm p50 was 70.58 versus 309.69 ms. Other fixtures favor Forme or have intervals covering parity. CLI includes process startup and output writes. An SVG fixture was excluded after the published version missed its logo. Per-fixture numbers and caveats · Reproduction
In-process PAdES On the documented Rust 1.100 release build, the 30-run median for RSA-2048 PKCS#1 B-B on a 10-page fixture was 5.32 ms. P-256 B-B was 0.87 ms. Offline P-256 LTA validation was 19.26 ms. The fixture TSA and revocation sources run in memory. Full setup and reproduction

In Edge 158.0.4370.45 the one-line invoice first-PDF medians were 151.1 ms for the staged Pressjet WASM SDK and 147.6 ms for Forme 0.34.1. The driver used nine fresh browser contexts per engine with caching disabled over loopback and checked the first output from each context. This timer includes loading, compilation and rendering. Browser process launch is outside it. The raw browser samples identify the browser version but do not record a Pressjet binary digest. Driver and reproduction · Edge raw samples The form benchmark, redaction benchmark, signing load experiments and agent results are separate workload families.

Reproduce and interpret a change

Run the comparison harness from the repository root on Linux with Docker, cgroup v2, Python and Poppler. Choose a real CPU with BENCH_CPU, build the native binary and use the pinned adapter versions. Preserve the raw data and binary hashes. For CPU regressions, use the instruction and peak anonymous memory gate with its pinned processor, corpus and thresholds. That gate uses instructions and anonymous memory to reduce wall-time noise and records wall and CPU times separately.

The architecture describes windowed pagination, reuse of resolved fonts and decoded images, bounded per-key caching, worker isolation and deadlines. Main also warms workers and recycles processes above the configured RSS threshold. Result caching and in-flight request sharing can change observed latency. Disable them or classify cache and shared responses when measuring rendering itself. Worker configuration · Allocator experiments