Pressjet before and after
On November 30, both builds ran in fresh containers on the same logical CPU with 1 GiB, one worker and the result cache disabled. These are 21 measured requests per build and input for the 500-item invoice. The download includes 1- and 100-item invoices as well.
| Items | Build and input | Pages | Median HTTP (ms) | p95 HTTP (ms) | Median CPU (ms) | Sampled peak RAM (MiB) | PDF (KiB) |
|---|---|---|---|---|---|---|---|
| 500 | Previous JSON | 17 | 51.56 | 67.32 | 50.84 | 22.1 | 63.3 |
| 500 | Current JSON | 17 | 36.64 | 45.28 | 35.89 | 25.9 | 63.3 |
| 500 | Previous HTML | 17 | 104.72 | 117.57 | 104.11 | 21.6 | 63.5 |
| 500 | Current HTML | 17 | 76.45 | 99.89 | 75.79 | 25.9 | 63.5 |
Eight clients sending invoices and leases
In 12 paired rounds, the previous build used one FIFO worker. The current build used two workers on the same CPU quota, with one reserved for small jobs after 115 ms in the queue. Every round rendered 84 invoices and twelve 47-page leases. Both builds produced the same PDFs.
| Metric | Previous build | Current build |
|---|---|---|
| PDFs/s | 64.7 | 80.5 |
| Invoice p95, median (ms) | 152.0 | 121.6 |
| Rounds with invoice p95 below 150 ms | 5/12 | 12/12 |
| Lease p95, median (ms) | 193.0 | 172.4 |
| CPU per PDF (ms) | 15.4 | 12.4 |
| Sampled peak RAM (MiB) | 17.6 | 27.6 |

