---
title: "HOPF Rendering Benchmark: 491 Pages Across Three Devices"
description: "HOPF, the page format CueFlip 1.7 draws scores with, measured on 491 pages of real scores against CoreGraphics, PDFKit, PDFium, MuPDF, pdf.js and Poppler: speed, energy, byte-for-byte determinism and accuracy."
url: "https://cueflip.com/hopf-benchmark/"
language: "en"
---

November 2026

# 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 |
| --- | --- | --- | --- | --- |
| 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.

*Pages drawn 1668 px wide, two trials each. A first draw is a page's first in a fresh process, with start-up and opening counted on their own. iPad Pro (M4), iPadOS 27.0.1, November 2026.*

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 | 3.01 ms |
| CoreGraphics | 34.0 ms |
| PDFKit | 35.5 ms |
| PDFium | 14.4 ms |

**First draw of a page (ms), Mac mini (M4)**

| 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 |

**First draw of a page (ms), MacBook Pro (M5 Pro)**

| 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 |

**First draw of a page (ms), iPad Pro (M4)**

| 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 first draw of each of 491 pages from 90 documents, 1668 px wide, in a fresh process; start-up and opening not counted. iPad Pro (M4), iPadOS 27.0.1, November 2026.*

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

CoreGraphics

CoreGraphics: HOPF draws a page 8.90× faster (95% interval 7.22× to 10.9×), and faster on 99.8% of 491 pages

CoreGraphics: counting the one-time compile, HOPF is 3.64× faster (95% interval 2.97× to 4.43×), and faster on 88% of 491 pages

PDFKit

PDFKit: HOPF draws a page 8.97× faster (95% interval 7.30× to 11.0×), and faster on 99.8% of 491 pages

PDFKit: counting the one-time compile, HOPF is 3.67× faster (95% interval 3.01× to 4.48×), and faster on 88% of 491 pages

PDFium

PDFium: HOPF draws a page 4.25× faster (95% interval 3.71× to 4.91×), and faster on 100% of 491 pages

PDFium: counting the one-time compile, HOPF is 1.74× faster (95% interval 1.54× to 1.99×), and faster on 79% of 491 pages

**How many times faster HOPF draws a page, geometric mean over all pages**

| 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 |

*Each renderer's first-draw time over HOPF's, page by page: the geometric mean of 491 pages with its 95% interval. Hatched bars count each document's one-time compile, shared out over its pages. iPad Pro (M4), iPadOS 27.0.1, November 2026.*

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

HOPF

HOPF: 7.33 ms a draw over one draw, 4.32 ms of it the compile

PDFium

PDFium: 14.4 ms a draw over one draw

CoreGraphics

CoreGraphics: 34.0 ms a draw over one draw

PDFKit

PDFKit: 35.5 ms a draw over one draw

#### Drawn 10 times

HOPF

HOPF: 1.41 ms a draw over 10 draws, 0.432 ms of it the compile

PDFium

PDFium: 10.2 ms a draw over 10 draws

CoreGraphics

CoreGraphics: 29.4 ms a draw over 10 draws

PDFKit

PDFKit: 29.6 ms a draw over 10 draws

#### Drawn 100 times

HOPF

HOPF: 0.819 ms a draw over 100 draws, 0.0432 ms of it the compile

PDFium

PDFium: 9.79 ms a draw over 100 draws

CoreGraphics

CoreGraphics: 28.9 ms a draw over 100 draws

PDFKit

PDFKit: 29.0 ms a draw over 100 draws

**Average time per draw (ms), Mac mini (M4)**

| 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 |

**Average time per draw (ms), MacBook Pro (M5 Pro)**

| 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 |

**Average time per draw (ms), iPad Pro (M4)**

| 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 |

*Average time per draw of a page drawn once, 10 and 100 times, built from the medians in the table above: HOPF compiles the page once, draws it, then redraws it; the others draw it, then redraw it. iPad Pro (M4), iPadOS 27.0.1, November 2026.*

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

HOPF

HOPF: 5.05 mJ CPU and about 0 mJ GPU a page, over 49,907 draws

CoreGraphics

CoreGraphics: 166 mJ CPU a page, over 706 draws

PDFKit

PDFKit: 167 mJ CPU a page, over 704 draws

PDFium

PDFium: 22.2 mJ CPU a page, over 5,588 draws

MuPDF

MuPDF: 34.0 mJ CPU a page, over 2,932 draws

MuPDFdisplay list

MuPDF, display list: 34.5 mJ CPU a page, over 2,934 draws

pdf.js

pdf.js: 26.6 mJ CPU a page, over 4,572 draws

Poppler

Poppler: 135 mJ CPU a page, over 897 draws

#### JPEG scan

HOPF

HOPF: 28.0 mJ CPU and about 0.00861 mJ GPU a page, over 10,576 draws

CoreGraphics

CoreGraphics: 50.1 mJ CPU a page, over 2,109 draws

PDFKit

PDFKit: 50.2 mJ CPU a page, over 2,112 draws

PDFium

PDFium: 142 mJ CPU a page, over 854 draws

MuPDF

MuPDF: 135 mJ CPU a page, over 744 draws

MuPDFdisplay list

MuPDF, display list: 132 mJ CPU a page, over 746 draws

pdf.js

pdf.js: 128 mJ CPU a page, over 937 draws

Poppler

Poppler: 193 mJ CPU a page, over 593 draws

#### 1-bit scan

HOPF

HOPF: 17.7 mJ CPU and about 0 mJ GPU a page, over 8,615 draws

CoreGraphics

CoreGraphics: 551 mJ CPU a page, over 205 draws

PDFKit

PDFKit: 558 mJ CPU a page, over 206 draws

PDFium

PDFium: 114 mJ CPU a page, over 1,054 draws

MuPDF

MuPDF: 69.9 mJ CPU a page, over 1,299 draws

MuPDFdisplay list

MuPDF, display list: 70.1 mJ CPU a page, over 1,313 draws

pdf.js

pdf.js: 270 mJ CPU a page, over 486 draws

Poppler

Poppler: 280 mJ CPU a page, over 408 draws

#### Vector

HOPF

HOPF: 41.9 mJ CPU and about 0.00837 mJ GPU a page, over 8,567 draws

CoreGraphics

CoreGraphics: 102 mJ CPU a page, over 1,031 draws

PDFKit

PDFKit: 187 mJ CPU a page, over 499 draws

PDFium

PDFium: 95.8 mJ CPU a page, over 1,103 draws

MuPDF

MuPDF: 52.8 mJ CPU a page, over 2,055 draws

MuPDFdisplay list

MuPDF, display list: 41.0 mJ CPU a page, over 2,739 draws

pdf.js

pdf.js: 51.0 mJ CPU a page, over 2,342 draws

Poppler

Poppler: 139 mJ CPU a page, over 863 draws

**Energy to draw a page (mJ), Mac mini (M4)**

| 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 |

**Energy to draw a page (mJ), MacBook Pro (M5 Pro)**

| 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 |

*Each type is one document's pages, drawn in turn for 20 s. CPU energy of the process; HOPF's GPU energy is approximate. Mac mini (M4), macOS 27.2, November 2026.*

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) |  |  |

*Pages drawn to the same bytes on both devices of a pair, of 491 pages from 90 documents. PDFium's color pages were hashed in another channel order on the iPad, so its iPad pairs compare grey pages only. November 2026.*

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).

### Agreement with the other renderers

HOPF

HOPF: 69 of 491 pages visibly different; median difference 0.579 grey levels of 255

pdf.js

pdf.js: 102 of 491 pages visibly different; median difference 1.05 grey levels of 255

MuPDF

MuPDF: 117 of 491 pages visibly different; median difference 0.784 grey levels of 255

MuPDFdisplay list

MuPDF, display list: 117 of 491 pages visibly different; median difference 0.784 grey levels of 255

PDFium

PDFium: 187 of 491 pages visibly different; median difference 0.851 grey levels of 255

PDFKit

PDFKit: 204 of 491 pages visibly different; median difference 1.33 grey levels of 255

CoreGraphics

CoreGraphics: 210 of 491 pages visibly different; median difference 1.33 grey levels of 255

Poppler

Poppler: 426 of 491 pages visibly different; median difference 4.42 grey levels of 255

*A page is visibly different when more than 1% of it, at half resolution, is more than 32 grey levels from the per-pixel median of the five other renderer families. MacBook Pro (M5 Pro), macOS 27.0, November 2026.*

## Continue reading

[View all](https://cueflip.com/research/)

Research17 Nov 2026

### [Rethinking PDF for Modern Hardware](https://cueflip.com/research/rethinking-pdf/)

Research15 Oct 2026

### [How CueFlip listens](https://cueflip.com/research/how-cueflip-listens/)

---

CueFlip is a sheet music reader and automatic page turner for iPad and iPhone. It listens as you play and turns pages in real time, keeping your focus on the performance. Import your own PDF scores; free to start.

[Download on the App Store](https://apps.apple.com/app/id6797384070) · [https://cueflip.com/llms.txt](https://cueflip.com/llms.txt)
