HOPF Rendering Benchmark: 491 Pages Across Three Devices
HOPF is the page format CueFlip 1.7 draws scores with. We took 491 pages from 90 real scores and compared it page by page with Apple's CoreGraphics and PDFKit, PDFium, MuPDF, pdf.js and Poppler. Drawing speed was measured against all six on Mac mini (M4) and MacBook Pro (M5 Pro), and against CoreGraphics, PDFKit and PDFium on iPad Pro (M4); energy on the two Macs; whether every device draws the same bytes, across all three; and how close each renderer comes to the others' consensus, on the MacBook Pro.
3.01 ms First draw Median of 491 pages on iPad Pro (M4)
- 0.754 ms Median redraw
- 8.97× First draw against PDFKit, geometric mean
- 28.7× Redraw against PDFKit, geometric mean
- 100% Pages drawn byte for byte the same on all three devices
Performance and energy
Once a score is open, HOPF records the lowest median latency of every benchmarked renderer across all three devices and all four page categories, keeping every page category on iPad Pro (M4) comfortably inside the 8.3 ms frame budget even on first draw (composite pages 5.40 ms, JPEG scans 3.55 ms, 1-bit scans 1.84 ms, and vector pages 2.01 ms). Here, a first draw measures a page's initial render after opening a document in a fresh process, a redraw measures repeating the same page with warm caches, and geometric means summarize per-page speedups without allowing extreme outliers to skew the result.
We conducted the cross-renderer benchmark on November 16, 2026 across 491 pages sampled from 90 real musical scores, up to 6 pages per score (168 composite pages, 85 JPEG scans, 111 1-bit scans, and 127 vector pages), rendered at 1668 px wide on white with 1-byte greyscale output where supported. Each renderer processed every document twice in fresh processes using ABBA ordering and a seeded random document sequence, isolating library startup and open from first draw and three warm redraws. Testing ran on a MacBook Pro (M5 Pro, 48 GB, macOS 27.0, with background workloads occupying a median of 1.1 cores), a nearly idle Mac mini (M4, 16 GB, macOS 27.2), and a 13-inch iPad Pro (M4, 8 GB, iPadOS 27.0.1). HOPF (November 2026 build) ran alongside Apple's CoreGraphics and PDFKit, PDFium 159.0.8152.0, and on the Macs, MuPDF 1.28.6 (tested both directly and replaying a once-recorded display list), Poppler 26.06.0 and 26.04.0 (Splash backend), and pdf.js 6.5.438 on Node with @napi-rs/canvas 1.1.1.
The table below details first draws by page type, redraws, one-time compile overhead, startup and opening, and peak memory per device. On iPad Pro, HOPF hits a median of 3.01 ms on first draw and 0.754 ms on redraw across all pages, compared with 35.5 ms and 29.0 ms for PDFKit; on MacBook Pro, medians drop to 1.50 ms and 0.396 ms.
Benchmark results
| Measurement | HOPF | CoreGraphics | PDFKit | PDFium | MuPDF | MuPDF, display list | pdf.js | Poppler |
|---|---|---|---|---|---|---|---|---|
| First draw | ||||||||
| Composite median of 168 pages | 3.38 ms | 36.0 ms | 35.7 ms | 19.3 ms | 30.5 ms | 26.7 ms | 52.3 ms | 39.4 ms |
| JPEG scan median of 85 pages | 1.69 ms | 27.7 ms | 26.4 ms | 11.7 ms | 24.6 ms | 24.1 ms | 76.1 ms | 36.4 ms |
| 1-bit scan median of 111 pages | 0.980 ms | 50.7 ms | 50.3 ms | 14.4 ms | 33.8 ms | 33.1 ms | 48.0 ms | 29.3 ms |
| Vector median of 127 pages | 1.12 ms | 5.63 ms | 5.52 ms | 4.03 ms | 4.74 ms | 3.01 ms | 21.5 ms | 9.63 ms |
| All pages median of 491 pages | 1.40 ms | 32.1 ms | 32.2 ms | 12.2 ms | 24.9 ms | 23.8 ms | 43.9 ms | 29.2 ms |
| Redraw | ||||||||
| All pages median of 491 pages | 0.526 ms | 13.0 ms | 13.1 ms | 9.44 ms | 17.0 ms | 15.1 ms | 13.1 ms | 28.9 ms |
| Costs | ||||||||
| One-time compile per page, median of 90 documents | 1.83 ms | Does not apply | Does not apply | Does not apply | Does not apply | Does not apply | Does not apply | Does not apply |
| Start-up and opening median of 90 documents | 0.0783 ms | 1.75 ms | 17.5 ms | 0.112 ms | 0.568 ms | 0.567 ms | 128 ms | 0.600 ms |
| Peak memory median of 90 documents | 44.9 MB | 49.8 MB | 52.3 MB | 40.2 MB | 65.3 MB | 65.3 MB | 310 MB | 31.1 MB |
Versions: HOPF, November 2026 build; CoreGraphics and PDFKit in macOS 27.2 (26B123); PDFium 159.0.8152.0; MuPDF 1.28.6; pdf.js 6.5.438 (@napi-rs/canvas 1.1.1, node 25.9.0); Poppler 26.04.0 (Splash).
| Measurement | HOPF | CoreGraphics | PDFKit | PDFium | MuPDF | MuPDF, display list | pdf.js | Poppler |
|---|---|---|---|---|---|---|---|---|
| First draw | ||||||||
| Composite median of 168 pages | 3.17 ms | 35.3 ms | 35.0 ms | 18.5 ms | 28.6 ms | 25.3 ms | 52.1 ms | 37.7 ms |
| JPEG scan median of 85 pages | 1.68 ms | 27.3 ms | 24.6 ms | 11.5 ms | 22.7 ms | 22.2 ms | 83.7 ms | 34.0 ms |
| 1-bit scan median of 111 pages | 0.837 ms | 45.3 ms | 44.3 ms | 13.4 ms | 32.5 ms | 31.9 ms | 43.5 ms | 29.1 ms |
| Vector median of 127 pages | 1.10 ms | 5.48 ms | 5.40 ms | 3.97 ms | 4.54 ms | 3.02 ms | 20.2 ms | 9.82 ms |
| All pages median of 491 pages | 1.50 ms | 30.3 ms | 29.5 ms | 11.4 ms | 22.7 ms | 21.9 ms | 42.2 ms | 28.4 ms |
| Redraw | ||||||||
| All pages median of 491 pages | 0.396 ms | 10.7 ms | 11.2 ms | 8.80 ms | 15.3 ms | 14.3 ms | 12.0 ms | 27.4 ms |
| Costs | ||||||||
| One-time compile per page, median of 90 documents | 1.64 ms | Does not apply | Does not apply | Does not apply | Does not apply | Does not apply | Does not apply | Does not apply |
| Start-up and opening median of 90 documents | 0.124 ms | 2.55 ms | 28.1 ms | 0.158 ms | 0.700 ms | 0.701 ms | 122 ms | 0.685 ms |
| Peak memory median of 90 documents | 46.0 MB | 50.5 MB | 53.7 MB | 40.6 MB | 65.6 MB | 65.5 MB | 325 MB | 31.4 MB |
Versions: HOPF, November 2026 build; CoreGraphics and PDFKit in macOS 27.0 (26A428); PDFium 159.0.8152.0; MuPDF 1.28.6; pdf.js 6.5.438 (@napi-rs/canvas 1.1.1, node 26.0.0); Poppler 26.06.0 (Splash).
| Measurement | HOPF | CoreGraphics | PDFKit | PDFium |
|---|---|---|---|---|
| First draw | ||||
| Composite median of 168 pages | 5.40 ms | 44.0 ms | 43.4 ms | 20.9 ms |
| JPEG scan median of 85 pages | 3.55 ms | 28.2 ms | 28.1 ms | 14.8 ms |
| 1-bit scan median of 111 pages | 1.84 ms | 64.3 ms | 63.8 ms | 19.5 ms |
| Vector median of 127 pages | 2.01 ms | 6.15 ms | 6.09 ms | 5.52 ms |
| All pages median of 491 pages | 3.01 ms | 34.0 ms | 35.5 ms | 14.4 ms |
| Redraw | ||||
| All pages median of 491 pages | 0.754 ms | 28.9 ms | 29.0 ms | 9.75 ms |
| Costs | ||||
| One-time compile per page, median of 90 documents | 4.32 ms | Does not apply | Does not apply | Does not apply |
| Start-up and opening median of 90 documents | 0.663 ms | 1.98 ms | 2.25 ms | 1.16 ms |
| Peak memory median of 90 documents | 51.3 MB | 52.9 MB | 53.9 MB | 48.7 MB |
Versions: HOPF, November 2026 build; CoreGraphics and PDFKit in iPadOS 27.0.1; PDFium 159.0.8152.0.
Tail latency shows how consistently that speed holds up. On first draw, 95% of pages finish within 7.35 ms on Mac mini (6.66 ms on MacBook Pro) and 17.3 ms on iPad Pro, while the other renderers spread into far longer tails: on iPad Pro, PDFium's 95th percentile reaches 85.5 ms and CoreGraphics hits 164 ms. Against PDFium, the fastest competing engine, HOPF wins 100% of all 491 pages on first draw and 99.8% on redraw on iPad Pro.
Share of pages drawn within a given time
| Renderer | 50% of pages within |
|---|---|
| HOPF | 1.40 ms |
| CoreGraphics | 32.1 ms |
| PDFKit | 32.2 ms |
| PDFium | 12.2 ms |
| MuPDF | 24.9 ms |
| MuPDF, display list | 23.8 ms |
| pdf.js | 43.9 ms |
| Poppler | 29.2 ms |
| Renderer | 50% of pages within |
|---|---|
| HOPF | 1.50 ms |
| CoreGraphics | 30.3 ms |
| PDFKit | 29.5 ms |
| PDFium | 11.4 ms |
| MuPDF | 22.7 ms |
| MuPDF, display list | 21.9 ms |
| pdf.js | 42.2 ms |
| Poppler | 28.4 ms |
| Renderer | 50% of pages within |
|---|---|
| HOPF | 3.01 ms |
| CoreGraphics | 34.0 ms |
| PDFKit | 35.5 ms |
| PDFium | 14.4 ms |
| Share of pages | HOPF | CoreGraphics | PDFKit | PDFium | MuPDF | MuPDF, display list | pdf.js | Poppler |
|---|---|---|---|---|---|---|---|---|
| 0% | 0.426 | 1.85 | 1.90 | 1.41 | 1.07 | 0.612 | 6.59 | 4.01 |
| 5% | 0.622 | 4.03 | 4.08 | 3.04 | 2.16 | 1.29 | 13.1 | 7.28 |
| 10% | 0.682 | 4.85 | 4.78 | 3.57 | 3.07 | 2.05 | 15.5 | 9.01 |
| 15% | 0.722 | 5.78 | 5.68 | 3.89 | 4.81 | 3.38 | 18.6 | 10.5 |
| 20% | 0.784 | 6.86 | 6.64 | 4.79 | 6.31 | 4.59 | 19.9 | 12.7 |
| 25% | 0.873 | 8.82 | 8.95 | 5.58 | 9.18 | 6.70 | 21.0 | 18.4 |
| 30% | 0.956 | 14.5 | 16.4 | 6.65 | 10.6 | 9.85 | 23.2 | 21.3 |
| 35% | 1.06 | 22.8 | 22.5 | 7.63 | 14.2 | 13.1 | 28.0 | 22.8 |
| 40% | 1.15 | 25.5 | 25.4 | 9.17 | 18.4 | 16.8 | 31.6 | 27.0 |
| 45% | 1.25 | 28.5 | 28.7 | 10.5 | 21.3 | 19.8 | 35.9 | 28.2 |
| 50% | 1.40 | 32.1 | 32.2 | 12.2 | 24.9 | 23.8 | 43.9 | 29.2 |
| 55% | 1.60 | 34.8 | 35.0 | 13.5 | 25.7 | 25.2 | 49.3 | 32.2 |
| 60% | 1.85 | 40.3 | 40.1 | 14.7 | 27.5 | 26.6 | 69.6 | 36.4 |
| 65% | 2.35 | 46.2 | 46.2 | 17.4 | 30.1 | 29.2 | 81.1 | 37.8 |
| 70% | 2.89 | 49.8 | 49.8 | 20.1 | 33.8 | 33.4 | 87.9 | 47.0 |
| 75% | 3.34 | 56.6 | 55.8 | 22.1 | 37.9 | 36.8 | 93.7 | 61.7 |
| 80% | 4.15 | 66.2 | 66.4 | 25.0 | 41.9 | 41.3 | 104 | 83.2 |
| 85% | 5.11 | 79.7 | 78.0 | 30.1 | 48.4 | 47.6 | 131 | 109 |
| 90% | 5.92 | 110 | 109 | 36.3 | 59.1 | 57.9 | 170 | 154 |
| 95% | 7.35 | 159 | 159 | 86.9 | 84.4 | 81.9 | 203 | 208 |
| 99% | 12.1 | 301 | 301 | 117 | 186 | 183 | 499 | 443 |
| 100% | 27.0 | 308 | 307 | 121 | 215 | 214 | 594 | 486 |
| Share of pages | HOPF | CoreGraphics | PDFKit | PDFium | MuPDF | MuPDF, display list | pdf.js | Poppler |
|---|---|---|---|---|---|---|---|---|
| 0% | 0.372 | 1.86 | 1.88 | 1.37 | 1.00 | 0.606 | 5.99 | 4.20 |
| 5% | 0.528 | 4.05 | 3.99 | 2.92 | 2.09 | 1.25 | 11.6 | 7.39 |
| 10% | 0.631 | 4.76 | 4.74 | 3.29 | 2.93 | 1.93 | 14.0 | 8.87 |
| 15% | 0.679 | 5.72 | 5.62 | 3.70 | 4.71 | 3.28 | 16.8 | 10.3 |
| 20% | 0.746 | 6.96 | 6.50 | 4.53 | 5.95 | 4.26 | 17.7 | 12.3 |
| 25% | 0.825 | 9.06 | 8.61 | 5.55 | 8.72 | 6.54 | 18.8 | 17.9 |
| 30% | 0.911 | 15.4 | 15.4 | 6.67 | 10.1 | 9.61 | 21.7 | 19.8 |
| 35% | 1.00 | 21.3 | 20.8 | 7.71 | 13.0 | 12.3 | 25.2 | 21.6 |
| 40% | 1.14 | 24.6 | 23.9 | 8.98 | 16.5 | 16.2 | 28.5 | 25.1 |
| 45% | 1.24 | 27.3 | 26.7 | 10.3 | 20.3 | 18.7 | 33.5 | 26.6 |
| 50% | 1.50 | 30.3 | 29.5 | 11.4 | 22.7 | 21.9 | 42.2 | 28.4 |
| 55% | 1.66 | 33.5 | 33.6 | 12.7 | 24.0 | 24.0 | 51.0 | 31.1 |
| 60% | 1.90 | 39.3 | 39.2 | 14.1 | 25.4 | 25.1 | 70.4 | 34.0 |
| 65% | 2.34 | 42.8 | 42.1 | 16.6 | 27.9 | 27.1 | 78.8 | 35.8 |
| 70% | 2.72 | 44.6 | 44.0 | 19.3 | 32.2 | 31.0 | 87.4 | 44.0 |
| 75% | 3.18 | 52.1 | 51.3 | 21.3 | 34.8 | 34.5 | 100 | 57.4 |
| 80% | 3.89 | 65.5 | 60.6 | 24.9 | 39.8 | 38.7 | 113 | 78.0 |
| 85% | 4.88 | 80.7 | 72.0 | 29.0 | 45.7 | 45.6 | 143 | 98.2 |
| 90% | 5.55 | 103 | 100 | 34.5 | 56.4 | 56.3 | 171 | 143 |
| 95% | 6.66 | 140 | 139 | 75.6 | 80.1 | 76.8 | 240 | 182 |
| 99% | 12.1 | 269 | 268 | 112 | 171 | 172 | 444 | 391 |
| 100% | 18.9 | 282 | 283 | 118 | 198 | 200 | 733 | 446 |
| Share of pages | HOPF | CoreGraphics | PDFKit | PDFium |
|---|---|---|---|---|
| 0% | 0.600 | 2.21 | 2.14 | 1.41 |
| 5% | 0.988 | 4.39 | 4.39 | 3.62 |
| 10% | 1.15 | 5.39 | 5.47 | 4.22 |
| 15% | 1.32 | 6.50 | 6.52 | 5.24 |
| 20% | 1.47 | 9.12 | 9.18 | 6.47 |
| 25% | 1.57 | 14.0 | 14.3 | 7.35 |
| 30% | 1.72 | 18.5 | 18.7 | 8.47 |
| 35% | 1.93 | 23.4 | 24.4 | 9.83 |
| 40% | 2.14 | 27.8 | 28.1 | 11.3 |
| 45% | 2.53 | 31.0 | 32.2 | 12.9 |
| 50% | 3.01 | 34.0 | 35.5 | 14.4 |
| 55% | 3.50 | 38.0 | 40.0 | 15.6 |
| 60% | 4.16 | 46.4 | 46.3 | 17.6 |
| 65% | 4.82 | 50.4 | 50.4 | 20.4 |
| 70% | 5.78 | 53.1 | 53.8 | 23.0 |
| 75% | 6.82 | 62.1 | 61.9 | 26.3 |
| 80% | 8.07 | 75.8 | 75.0 | 30.5 |
| 85% | 9.83 | 93.8 | 94.1 | 35.4 |
| 90% | 12.0 | 118 | 120 | 42.6 |
| 95% | 17.3 | 164 | 163 | 85.5 |
| 99% | 28.9 | 311 | 312 | 119 |
| 100% | 52.0 | 338 | 339 | 141 |
The speedup chart places already-compiled render performance directly beside ratios that include the one-time compile cost. On iPad Pro, HOPF's geometric mean speedup reaches 8.97 times over PDFKit and 4.25 times over PDFium on first draw, rising to 28.7 and 10.8 times on redraw (reaching 117.8 times faster than PDFKit on 1-bit scan redraws). Even when folding each page's share of the compile cost into that first draw, HOPF still beats PDFium by 1.74 times on iPad Pro and 3.15 times on MacBook Pro (and 4.77 times over MuPDF's display-list preparation and first draw on MacBook Pro), while compilation is paid only once per score.
How much faster HOPF draws a page
- Drawing a page
- Counting the one-time compile
| Device and renderer | Drawing a page | Counting the one-time compile |
|---|---|---|
| Mac mini (M4), CoreGraphics | 15.2×, faster on 100% of pages | 6.61×, faster on 97% of pages |
| Mac mini (M4), PDFKit | 15.1×, faster on 100% of pages | 6.58×, faster on 97% of pages |
| Mac mini (M4), PDFium | 6.79×, faster on 100% of pages | 2.95×, faster on 93% of pages |
| Mac mini (M4), MuPDF | 10.3×, faster on 100% of pages | 4.48×, faster on 93% of pages |
| Mac mini (M4), MuPDF, display list | 9.02×, faster on 99% of pages | 4.51×, faster on 94% of pages |
| Mac mini (M4), pdf.js | 27.0×, faster on 100% of pages | 11.7×, faster on 100% of pages |
| Mac mini (M4), Poppler | 18.9×, faster on 100% of pages | 8.21×, faster on 100% of pages |
| MacBook Pro (M5 Pro), CoreGraphics | 15.3×, faster on 100% of pages | 7.00×, faster on 98% of pages |
| MacBook Pro (M5 Pro), PDFKit | 15.0×, faster on 100% of pages | 6.88×, faster on 97% of pages |
| MacBook Pro (M5 Pro), PDFium | 6.87×, faster on 100% of pages | 3.15×, faster on 93% of pages |
| MacBook Pro (M5 Pro), MuPDF | 10.3×, faster on 100% of pages | 4.70×, faster on 94% of pages |
| MacBook Pro (M5 Pro), MuPDF, display list | 9.02×, faster on 99% of pages | 4.77×, faster on 94% of pages |
| MacBook Pro (M5 Pro), pdf.js | 27.8×, faster on 100% of pages | 12.7×, faster on 100% of pages |
| MacBook Pro (M5 Pro), Poppler | 18.9×, faster on 100% of pages | 8.65×, faster on 100% of pages |
| iPad Pro (M4), CoreGraphics | 8.90×, faster on 99.8% of pages | 3.64×, faster on 88% of pages |
| iPad Pro (M4), PDFKit | 8.97×, faster on 99.8% of pages | 3.67×, faster on 88% of pages |
| iPad Pro (M4), PDFium | 4.25×, faster on 100% of pages | 1.74×, faster on 79% of pages |
The cost model translates those medians into cumulative usage across 1, 10, and 100 draws per page, amortizing HOPF's compile overhead across reads. On iPad Pro, HOPF already wins on a page drawn just once (7.33 ms compile included, versus 14.4 ms for PDFium and 35.5 ms for PDFKit). Across 100 draws, HOPF's amortized cost converges to 0.819 ms per draw, compared with 9.79 ms and 29.0 ms.
One compile, many draws
- HOPF, drawing
- HOPF, the compile shared out
Drawn once
Drawn 10 times
Drawn 100 times
Drawn once
Drawn 10 times
Drawn 100 times
Drawn once
Drawn 10 times
Drawn 100 times
| Renderer | Drawn once | Drawn 10 times | Drawn 100 times |
|---|---|---|---|
| HOPF | 3.23 ms | 0.796 ms | 0.553 ms |
| PDFium | 12.2 ms | 9.72 ms | 9.47 ms |
| CoreGraphics | 32.1 ms | 14.9 ms | 13.2 ms |
| PDFKit | 32.2 ms | 15.0 ms | 13.3 ms |
| Renderer | Drawn once | Drawn 10 times | Drawn 100 times |
|---|---|---|---|
| HOPF | 3.13 ms | 0.670 ms | 0.424 ms |
| PDFium | 11.4 ms | 9.06 ms | 8.82 ms |
| CoreGraphics | 30.3 ms | 12.6 ms | 10.9 ms |
| PDFKit | 29.5 ms | 13.0 ms | 11.3 ms |
| Renderer | Drawn once | Drawn 10 times | Drawn 100 times |
|---|---|---|---|
| HOPF | 7.33 ms | 1.41 ms | 0.819 ms |
| PDFium | 14.4 ms | 10.2 ms | 9.79 ms |
| CoreGraphics | 34.0 ms | 29.4 ms | 28.9 ms |
| PDFKit | 35.5 ms | 29.6 ms | 29.0 ms |
That speed advantage translates directly into major power savings, especially on composite pages, 1-bit scans, and JPEG scans. On Mac mini composite pages in 20-second continuous loops, HOPF consumes just 5.05 mJ of CPU energy per page with virtually zero GPU draw, compared with 22.2 mJ for PDFium, 34.5 mJ for MuPDF's display list, and 166 mJ for CoreGraphics; on 1-bit scans, HOPF uses 17.7 mJ against 70.1 mJ for MuPDF's display list and 551 mJ for CoreGraphics. On iPad Pro, where iOS exposes per-process CPU energy counters across all 491 pages, HOPF consumes a mean of 14.1 mJ per redraw versus 78.4 mJ for PDFium and 247 mJ for PDFKit.
Energy to draw a page
- HOPF, CPU
- HOPF, GPU (about)
Composite
JPEG scan
1-bit scan
Vector
Composite
JPEG scan
1-bit scan
Vector
| Renderer | Composite | JPEG scan | 1-bit scan | Vector |
|---|---|---|---|---|
| HOPF | 5.05 CPU and about 0 GPU | 28.0 CPU and about 0.00861 GPU | 17.7 CPU and about 0 GPU | 41.9 CPU and about 0.00837 GPU |
| CoreGraphics | 166 | 50.1 | 551 | 102 |
| PDFKit | 167 | 50.2 | 558 | 187 |
| PDFium | 22.2 | 142 | 114 | 95.8 |
| MuPDF | 34.0 | 135 | 69.9 | 52.8 |
| MuPDF, display list | 34.5 | 132 | 70.1 | 41.0 |
| pdf.js | 26.6 | 128 | 270 | 51.0 |
| Poppler | 135 | 193 | 280 | 139 |
| Renderer | Composite | JPEG scan | 1-bit scan | Vector |
|---|---|---|---|---|
| HOPF | 6.36 CPU and about 0 GPU | 38.9 CPU and about 0 GPU | 17.9 CPU and about 0.000867 GPU | 52.4 CPU and about 0 GPU |
| CoreGraphics | 176 | 57.0 | 572 | 107 |
| PDFKit | 176 | 57.1 | 581 | 195 |
| PDFium | 23.4 | 171 | 142 | 94.2 |
| MuPDF | 41.6 | 149 | 75.4 | 52.1 |
| MuPDF, display list | 41.8 | 153 | 75.3 | 40.6 |
| pdf.js | 28.7 | 136 | 297 | 53.3 |
| Poppler | 143 | 205 | 286 | 152 |
On extreme vector stress pages tested on MacBook Pro (40,000 0.05 pt lines drawn 8000 px wide, a 250,000-segment path, and 3,000 dashed 0.3 pt lines), CoreGraphics failed to finish any of the three within its 90 s timeout.
Byte for byte
Across all 491 benchmark pages, HOPF rendered byte-for-byte identical output between every pair of devices we tested: iPad Pro (M4), Mac mini (M4), and MacBook Pro (M5 Pro). Across every page and every device, the App's CPU drawer, the on-demand GPU path, and the pure software CPU reference also produce the exact same bytes as one another, while Apple's CoreGraphics and PDFKit differed between every device pair.
That invariance comes from the integer rule. Both HOPF's CPU compositor (every value a whole integer from 0 to 255) and its GPU compute kernels execute pixel math with zero floating-point values, leaving zero rounding latitude between processor generations. On CPU geometry setup steps, calculations restrict themselves strictly to addition, subtraction, multiplication, division, and square root, the five operations IEEE 754 requires to be correctly rounded, with fused multiply-add disabled. System math functions that approximate results (sine, cosine, power) are never called; JPEG cosine tables are hardcoded constants, and stroke joins compute purely from square roots. Automated build checks scan both rendering paths, failing on any disallowed floating-point or transcendental call.
The window rule makes output invariant to the drawn region. A viewport window selects which pixels execute without ever altering how they are computed: transforms remain page-global, rows and columns snap to integer pixels, resampling weights derive strictly from page coordinates, and edges left of a window propagate exact accumulated coverage into its first column. An isolated 512 px tile therefore matches the exact byte slice of a full-page render, eliminating tile seams with zero full-page checks.
Thread scheduling cannot leak into the pixels either. On the CPU, horizontal row bands distribute to worker threads while each pixel folds covering stamps in exact operation order regardless of thread timing, and parallel coverage workers write straight into fixed operation slots. Scanline segments maintain a strict total order that resolves all start, end, and swap events at a height before deciding any segment's fill role. On the GPU path, dedicated per-pixel threads obey the exact same draw sequence with a single commutative bitwise AND.
To verify every execution tier against a pure software baseline, HOPF includes a single-threaded CPU reference path sharing exact definitions, coverage rules, and weight tables. Across all 1,896 pages of our 90-score library, the App drawer, GPU kernels, and CPU reference produce identical hashes, and a targeted cross-check spanning 905 vector and composite pages across 11,510 viewport renders recorded zero differences between CPU and GPU execution. Inside the iPad app, 14,400 GPU and CPU draws matched 100% byte-for-byte; x86_64 and arm64 builds agree identically (where CoreGraphics diverges on 276 pages between architectures); Debug and Release builds match; iOS 17.0, 18.0, and 27.0 simulators agree with macOS; and isolated 512 px tiles match slices cropped from full-page renders.
The table below reports pairwise byte matches across all three devices. HOPF matched 491 of 491 pages on every pair, whereas CoreGraphics and PDFKit matched 432 between the two Macs, 329 between iPad Pro and Mac mini, and 271 between iPad Pro and MacBook Pro.
The same bytes across devices
| Renderer | MacBook Pro and Mac mini | MacBook Pro and iPad Pro | Mac mini and iPad Pro |
|---|---|---|---|
| Across devices | |||
| HOPF | 491 of 491 | 491 of 491 | 491 of 491 |
| HOPF, CPU reference | 491 of 491 | Not run on the iPad | Not run on the iPad |
| CoreGraphics | 432 of 491 | 271 of 491 | 329 of 491 |
| PDFKit | 432 of 491 | 271 of 491 | 329 of 491 |
| PDFium | 491 of 491 | 328 of 328 grey pages only | 328 of 328 grey pages only |
| MuPDF | 491 of 491 | Not run on the iPad | Not run on the iPad |
| MuPDF, display list | 491 of 491 | Not run on the iPad | Not run on the iPad |
| pdf.js | 491 of 491 | Not run on the iPad | Not run on the iPad |
| Poppler | 491 of 491 | Not run on the iPad | Not run on the iPad |
| On one device, the GPU against the CPU reference | |||
| HOPF | 491 of 491 on the MacBook Pro | ||
Bit-exact determinism streamlines both verification and rendering across Apple Silicon. Zoomed tiles stitch seamlessly with zero cross-checks against whole pages, and every renderer change produces an exact page-level byte diff, letting us verify that a fix changes only what it was meant to change.
Correct on every page
HOPF matches multi-renderer visual consensus more closely than any competing PDF renderer tested, finishing the cross-renderer suite with zero crashes, zero hangs, and zero unrendered pages.
We treat the PDF specification, ISO 32000-1, as ground truth and other renderers as independent cross-checks. Where the specification defines page semantics, HOPF Core follows it faithfully; where it leaves rasterization to each implementation, HOPF Core specifies exact pixel-area coverage and locks down every rounding rule. Meanwhile, our Quartz-compatible profile matched Quartz byte for byte across every tested class of 1,000 seeded random cases (rectangle fills, tiny rectangles, clips, triangles, rotation and scale, color spaces, and transparency).
Across 1,968 half-resolution pages (the 90-score library plus four copies), HOPF's mean pixel difference measured 1.89 from MuPDF and 2.11 from Quartz, closer to each than they are to one another (2.74), alongside 2.87 from Ghostscript and 8.02 from Poppler. On targeted conformance suites covering decode arrays, hidden layers, forms, and optional-content images, HOPF agreed with MuPDF, Ghostscript, and Poppler where Quartz alone diverged; CMYK conversion follows ISO 32000-1 §10.3.5. Across the 1,089-PDF pdf.js suite, HOPF recorded zero crashes or hangs and decoded 17,026 of 17,227 streams byte-identical to MuPDF. Exported as vector PDFs and read back, 354 conformance PDFs and 13 tutorial PDFs produced zero differences.
The chart below compares each renderer's 491 outputs on MacBook Pro at half resolution against the per-pixel median of the five other renderer families. HOPF produced the fewest visibly divergent pages, just 69 of 491 (more than 1% of pixels differing by over 32 grey levels), with zero divergent pages across all 85 JPEG scans and all 111 1-bit scans. Its median mean difference was also the lowest at 0.579 on a 0 to 255 scale, ahead of pdf.js (102 pages, 1.05), MuPDF and its display list (117, 0.784), PDFium (187, 0.851), PDFKit (204, 1.33), CoreGraphics (210, 1.33), and Poppler (426, 4.42).

