PDF Compressor Benchmark

How much the PDF Compressor saves on ten typical kinds of PDF, at each of its settings, how long it took, what did the work and how the result looks up close. The test files are generated, not collected: synthetic scans, photos and documents built from a fixed seed so anyone can rebuild exactly the same set. The benchmark compares the tool's own settings with each other. No other compressor, desktop tool or online service was run, so nothing here says how it compares with them.

Run on 2026-10-31 · Chromium 152 (embedded in a desktop app) on Windows · 32 logical cores, 4 image workers · JPEG encoder: mozjpeg · code at 59de7ac on main with uncommitted changes · seed 20261031

Method

The test set

Ten PDFs, 9.16 MB in all, drawn by a small generator in the site's repository. Scanned pages are rendered at 300 dpi with Liberation Sans through an anti-aliased rasteriser, then given what a scanner adds: slight blur, paper tone, sensor noise and, where noted, uneven lighting, skew and dust. They are stored as JPEG with standard (libjpeg-style) quantisation tables at quality 85, as scanners usually write them. The photos are procedural landscapes with fine texture and grain, not camera images.

filewhat it ispagessize
(a) Clean greyscale text scanTwo A4 pages of typed text scanned at 300 dpi in greyscale, stored as single-channel JPEG (quality 85).21.51 MB
(b) Uneven, skewed colour scanOne A4 page scanned in colour at 300 dpi: warm paper, lighting falling off towards one corner, 0.6° skew, sensor noise and dust.11.51 MB
(c) Letter with faint pencil notesA typed letter at 300 dpi in greyscale with light pencil handwriting, a circled word and an arrow in the margin.1722.8 KB
(d) Colour letter with logo on tinted paperA business letter on cream paper with a teal and red logo, a coloured rule and a blue signature, scanned in colour at 300 dpi.11.02 MB
(e) Phone photo pageA 12-megapixel (3024 × 4032) photo-like JPEG at quality 92 placed on one A4 page, about 366 dpi.12.18 MB
(f) Image-heavy brochure pageOne A4 page with a wide header photo and four smaller photos (all JPEG, quality 90, drawn at 330–520 dpi) and real text in Helvetica.11.66 MB
(g) Office export with a full fontTwo pages of real text in Liberation Sans, embedded whole (139 KB TrueType), plus a 900 × 540 bar chart stored losslessly (flate).2104.8 KB
(h) Merged document (3 × g)Three copies of the office export merged into one six-page file, each with its own copy of the font and the chart.6313.2 KB
(i) CAD-like vector drawingAn A3 sheet of vector line work — a gear, hatching, bolt circles, dimensions and a title block — with no images, content already flate-compressed.112.1 KB
(j) Text page with leftover junkA one-page text document carrying editor private data (/PieceInfo), a page thumbnail, page and document XMP, an Info dictionary and an orphaned old image.1153.2 KB

The pipeline

Every file went through the real compressor code in a browser, served as static files with the same Content-Security-Policy as the live site: the same image workers, MozJPEG encoder, black-and-white (JBIG2 and CCITT G4) and text-layer (MRC) encoders, HarfBuzz font subsetting and qpdf structure pass that run when you press compress. A small test page that is not part of the site fed the files to it one after another. Each setting started from the original file with nothing cached, after one unrecorded warm-up run so that loading the WebAssembly modules is not counted. Times are wall-clock from reading the file to the finished copy on this one machine; they show relative cost, not what your computer will take.

The settings

All four use the tool's defaults otherwise: duplicate and junk removal, font subsetting and dropping thumbnails on; stripping document metadata, greyscale and the other opt-ins off. The fourth setting is balanced with black & white and text layers turned off, to show what those two modes add over plain JPEG.

What helped, and how quality is judged

"What helped" splits each saving the way the tool's review does. Images is old minus new image stream bytes. Duplicates and junk are the uncompressed size of the objects those stages removed, and fonts the font programs' size before and after subsetting, so they are estimates made before the final repack. Structure is whatever is left of the saving: qpdf's object streams and recompression, and removed thumbnails or metadata.

The quality verdict is the tool's own check on every changed image: SSIM between the original and the new copy at up to 512 pixels on the long edge, as a mean and a worst window. A black-and-white page is compared after stretching both to black ink on white paper, and text layers by rebuilding the page from the encoded layers. ✓ ok, ! check or ✗ bad is the worst verdict among the file's images. The check works on reduced copies and can miss damage to very small text, which is why the crops below matter.

Results

Output size and saving, per file and setting. The original is offered when nothing was saved.

fileoriginallosslessbalancedstrongbalanced, JPEG only
(a) Clean greyscale text scan1.51 MB1.51 MB 0%63.3 KB −95.9%43.1 KB −97.2%354.6 KB −77.1%
(b) Uneven, skewed colour scan1.51 MB1.51 MB 0%80.6 KB −94.8%74.9 KB −95.1%215.5 KB −86%
(c) Letter with faint pencil notes722.8 KB722.8 KB 0%43.5 KB −94%43.5 KB −94%128.2 KB −82.3%
(d) Colour letter with logo on tinted paper1.02 MB1.02 MB 0%62.4 KB −94%56.6 KB −94.6%155.2 KB −85.1%
(e) Phone photo page2.18 MB2.18 MB 0%83.5 KB −96.3%33.4 KB −98.5%83.5 KB −96.3%
(f) Image-heavy brochure page1.66 MB1.66 MB 0%83.3 KB −95.1%36.1 KB −97.9%83.3 KB −95.1%
(g) Office export with a full font104.8 KB34.0 KB −67.6%34.0 KB −67.6%34.0 KB −67.6%34.0 KB −67.6%
(h) Merged document (3 × g)313.2 KB34.0 KB −89.1%34.0 KB −89.1%34.0 KB −89.1%34.0 KB −89.1%
(i) CAD-like vector drawing12.1 KB12.0 KB −0.9%12.0 KB −0.9%12.0 KB −0.9%12.0 KB −0.9%
(j) Text page with leftover junk153.2 KB5.1 KB −96.6%5.1 KB −96.6%5.1 KB −96.6%5.1 KB −96.6%

Per file

(a) Clean greyscale text scan · 1.51 MB

Two A4 pages of typed text scanned at 300 dpi in greyscale, stored as single-channel JPEG (quality 85).

settingoutputsavedtimeimageswhat helpedquality
lossless1.51 MB0%27 ms2 × skippednothing—
balanced63.3 KB95.9%1.2 s2 × JBIG2images 1.45 MB✓ ok
strong43.1 KB97.2%652 ms2 × JBIG2images 1.47 MB✓ ok
balanced, JPEG only354.6 KB77.1%226 ms2 × JPEGimages 1.17 MB✓ ok
image by image
settingimageactionbeforeafterSSIM mean / worstreason
losslessp.1 · 2480×3508 · 300 dpiskipped789.9 KB——lossless preset — images untouched
losslessp.2 · 2480×3508 · 300 dpiskipped758.7 KB——lossless preset — images untouched
balancedp.1 · 2480×3508 · 300 dpiJBIG2 2480×3508789.9 KB32.1 KB0.998 / 0.897 (ok)black & white: bimodal page, few mid-tones
balancedp.2 · 2480×3508 · 300 dpiJBIG2 2480×3508758.7 KB29.9 KB0.998 / 0.841 (ok)black & white: bimodal page, few mid-tones
strongp.1 · 2480×3508 · 300 dpiJBIG2 1654×2339789.9 KB21.6 KB0.996 / 0.784 (ok)black & white: bimodal page, few mid-tones
strongp.2 · 2480×3508 · 300 dpiJBIG2 1654×2339758.7 KB20.1 KB0.996 / 0.745 (ok)black & white: bimodal page, few mid-tones
balanced, JPEG onlyp.1 · 2480×3508 · 300 dpiJPEG 1240×1754789.9 KB181.1 KB0.998 / 0.967 (ok)
balanced, JPEG onlyp.2 · 2480×3508 · 300 dpiJPEG 1240×1754758.7 KB172.2 KB0.998 / 0.972 (ok)

(b) Uneven, skewed colour scan · 1.51 MB

One A4 page scanned in colour at 300 dpi: warm paper, lighting falling off towards one corner, 0.6° skew, sensor noise and dust.

settingoutputsavedtimeimageswhat helpedquality
lossless1.51 MB0%19 msskippednothing—
balanced80.6 KB94.8%2.3 sMRCimages 1.43 MB✓ ok
strong74.9 KB95.1%2.1 sMRCimages 1.43 MB✓ ok
balanced, JPEG only215.5 KB86%208 msJPEGimages 1.30 MB✓ ok
image by image
settingimageactionbeforeafterSSIM mean / worstreason
losslessp.1 · 2480×3508 · 300 dpiskipped1.51 MB——lossless preset — images untouched
balancedp.1 · 2480×3508 · 300 dpiMRC 2480×35081.51 MB79.2 KB0.990 / 0.935 (ok)black & white: mixed: histogram not bimodal, continuous-tone areas · text layers: text layer: 3188 glyphs, 7.6 % ink, one ink colour
strongp.1 · 2480×3508 · 300 dpiMRC 2480×35081.51 MB73.5 KB0.989 / 0.901 (ok)black & white: mixed: histogram not bimodal, continuous-tone areas · text layers: text layer: 3188 glyphs, 7.6 % ink, one ink colour
balanced, JPEG onlyp.1 · 2480×3508 · 300 dpiJPEG 1240×17541.51 MB214.5 KB0.995 / 0.979 (ok)

(c) Letter with faint pencil notes · 722.8 KB

A typed letter at 300 dpi in greyscale with light pencil handwriting, a circled word and an arrow in the margin.

settingoutputsavedtimeimageswhat helpedquality
lossless722.8 KB0%11 msskippednothing—
balanced43.5 KB94%2.4 sMRCimages 679.4 KB! check (1 flagged)
strong43.5 KB94%4.5 sMRCimages 679.4 KB! check (1 flagged)
balanced, JPEG only128.2 KB82.3%185 msJPEGimages 594.6 KB✓ ok
image by image
settingimageactionbeforeafterSSIM mean / worstreason
losslessp.1 · 2480×3508 · 300 dpiskipped721.8 KB——lossless preset — images untouched
balancedp.1 · 2480×3508 · 300 dpiMRC 2480×3508721.8 KB42.0 KB0.994 / 0.924 (check)black & white: black & white would lose faint marks (worst area 0.08) — JPEG kept · text layers: text layer: 1610 glyphs, 4.0 % ink, one ink colour
strongp.1 · 2480×3508 · 300 dpiMRC 2480×3508721.8 KB42.0 KB0.994 / 0.924 (check)black & white: black & white would lose faint marks (worst area 0.08) — JPEG kept · text layers: text layer: 1610 glyphs, 4.0 % ink, one ink colour · balanced tier (background as on balanced) — strong tier: text layers flagged "check" and saves under half — JPEG kept: faint marks on page 1 (pencil, light handwriting) are blurred in the low-resolution background — compare at 200 %
balanced, JPEG onlyp.1 · 2480×3508 · 300 dpiJPEG 1240×1754721.8 KB127.2 KB0.997 / 0.982 (ok)

(d) Colour letter with logo on tinted paper · 1.02 MB

A business letter on cream paper with a teal and red logo, a coloured rule and a blue signature, scanned in colour at 300 dpi.

settingoutputsavedtimeimageswhat helpedquality
lossless1.02 MB0%12 msskippednothing—
balanced62.4 KB94%2.2 sMRCimages 982.0 KB✓ ok
strong56.6 KB94.6%2.1 sMRCimages 987.8 KB✓ ok
balanced, JPEG only155.2 KB85.1%176 msJPEGimages 889.2 KB✓ ok
image by image
settingimageactionbeforeafterSSIM mean / worstreason
losslessp.1 · 2480×3508 · 300 dpiskipped1.02 MB——lossless preset — images untouched
balancedp.1 · 2480×3508 · 300 dpiMRC 2480×35081.02 MB60.8 KB0.992 / 0.916 (ok)black & white: mixed: colour content · text layers: text layer: 1827 glyphs, 5.0 % ink, several ink colours
strongp.1 · 2480×3508 · 300 dpiMRC 2480×35081.02 MB54.9 KB0.992 / 0.784 (ok)black & white: mixed: colour content · text layers: text layer: 1827 glyphs, 5.0 % ink, several ink colours
balanced, JPEG onlyp.1 · 2480×3508 · 300 dpiJPEG 1240×17541.02 MB154.2 KB0.997 / 0.976 (ok)

(e) Phone photo page · 2.18 MB

A 12-megapixel (3024 × 4032) photo-like JPEG at quality 92 placed on one A4 page, about 366 dpi.

settingoutputsavedtimeimageswhat helpedquality
lossless2.18 MB0%19 msskippednothing—
balanced83.5 KB96.3%739 msJPEGimages 2.10 MB✓ ok
strong33.4 KB98.5%598 msJPEGimages 2.15 MB✓ ok
balanced, JPEG only83.5 KB96.3%201 msJPEGimages 2.10 MB✓ ok
image by image
settingimageactionbeforeafterSSIM mean / worstreason
losslessp.1 · 3024×4032 · 366 dpiskipped2.18 MB——lossless preset — images untouched
balancedp.1 · 3024×4032 · 366 dpiJPEG 1240×16542.18 MB82.5 KB0.994 / 0.961 (ok)black & white: photo: colourful · text layers: hardly any text (0.0 % ink)
strongp.1 · 3024×4032 · 366 dpiJPEG 909×12132.18 MB32.4 KB0.983 / 0.897 (ok)black & white: photo: colourful · text layers: hardly any text (0.0 % ink)
balanced, JPEG onlyp.1 · 3024×4032 · 366 dpiJPEG 1240×16542.18 MB82.5 KB0.994 / 0.961 (ok)

(f) Image-heavy brochure page · 1.66 MB

One A4 page with a wide header photo and four smaller photos (all JPEG, quality 90, drawn at 330–520 dpi) and real text in Helvetica.

settingoutputsavedtimeimageswhat helpedquality
lossless1.66 MB0%19 ms5 × skippedstructure 0.6 KB—
balanced83.3 KB95.1%366 ms5 × JPEGimages 1.58 MB, structure 0.7 KB✓ ok
strong36.1 KB97.9%299 ms5 × JPEGimages 1.62 MB, structure 0.7 KB! check (2 flagged)
balanced, JPEG only83.3 KB95.1%124 ms5 × JPEGimages 1.58 MB, structure 0.7 KB✓ ok
image by image
settingimageactionbeforeafterSSIM mean / worstreason
losslessp.1 · 3000×1200 · 363 dpiskipped590.2 KB——lossless preset — images untouched
losslessp.1 · 1500×1000 · 431 dpiskipped275.7 KB——lossless preset — images untouched
losslessp.1 · 1500×1000 · 431 dpiskipped270.7 KB——lossless preset — images untouched
losslessp.1 · 1500×1000 · 431 dpiskipped279.2 KB——lossless preset — images untouched
losslessp.1 · 1500×1000 · 431 dpiskipped281.6 KB——lossless preset — images untouched
balancedp.1 · 3000×1200 · 363 dpiJPEG 1240×496590.2 KB29.8 KB0.990 / 0.854 (ok)black & white: photo: colourful · text layers: hardly any text (0.0 % ink)
balancedp.1 · 1500×1000 · 431 dpiJPEG 522×348275.7 KB12.5 KB0.956 / 0.704 (ok)black & white: photo: colourful · text layers: hardly any text (0.0 % ink)
balancedp.1 · 1500×1000 · 431 dpiJPEG 522×348270.7 KB12.3 KB0.956 / 0.651 (ok)black & white: photo: colourful · text layers: hardly any text (0.0 % ink)
balancedp.1 · 1500×1000 · 431 dpiJPEG 522×348279.2 KB12.6 KB0.956 / 0.609 (ok)black & white: photo: colourful · text layers: hardly any text (0.0 % ink)
balancedp.1 · 1500×1000 · 431 dpiJPEG 522×348281.6 KB13.3 KB0.956 / 0.704 (ok)black & white: photo: colourful · text layers: hardly any text (0.0 % ink)
strongp.1 · 3000×1200 · 363 dpiJPEG 909×364590.2 KB12.6 KB0.974 / 0.731 (ok)black & white: photo: colourful · text layers: hardly any text (0.0 % ink)
strongp.1 · 1500×1000 · 431 dpiJPEG 383×255275.7 KB5.2 KB0.931 / 0.635 (ok)black & white: photo: colourful · text layers: hardly any text (0.0 % ink)
strongp.1 · 1500×1000 · 431 dpiJPEG 383×255270.7 KB5.0 KB0.931 / 0.637 (ok)black & white: photo: colourful · text layers: hardly any text (0.0 % ink)
strongp.1 · 1500×1000 · 431 dpiJPEG 383×255279.2 KB5.1 KB0.930 / 0.566 (check)black & white: photo: colourful · text layers: hardly any text (0.0 % ink)
strongp.1 · 1500×1000 · 431 dpiJPEG 383×255281.6 KB5.5 KB0.931 / 0.536 (check)black & white: photo: colourful · text layers: hardly any text (0.0 % ink)
balanced, JPEG onlyp.1 · 3000×1200 · 363 dpiJPEG 1240×496590.2 KB29.8 KB0.990 / 0.854 (ok)
balanced, JPEG onlyp.1 · 1500×1000 · 431 dpiJPEG 522×348275.7 KB12.5 KB0.956 / 0.704 (ok)
balanced, JPEG onlyp.1 · 1500×1000 · 431 dpiJPEG 522×348270.7 KB12.3 KB0.956 / 0.651 (ok)
balanced, JPEG onlyp.1 · 1500×1000 · 431 dpiJPEG 522×348279.2 KB12.6 KB0.956 / 0.609 (ok)
balanced, JPEG onlyp.1 · 1500×1000 · 431 dpiJPEG 522×348281.6 KB13.3 KB0.956 / 0.704 (ok)

(g) Office export with a full font · 104.8 KB

Two pages of real text in Liberation Sans, embedded whole (139 KB TrueType), plus a 900 × 540 bar chart stored losslessly (flate).

settingoutputsavedtimeimageswhat helpedquality
lossless34.0 KB67.6%65 msskippedfonts 68.6 KB, structure 2.2 KB—
balanced34.0 KB67.6%134 mskeptfonts 68.6 KB, structure 2.2 KB—
strong34.0 KB67.6%120 mskeptfonts 68.6 KB, structure 2.2 KB—
balanced, JPEG only34.0 KB67.6%93 mskeptfonts 68.6 KB, structure 2.2 KB—
image by image
settingimageactionbeforeafterSSIM mean / worstreason
losslessp.1 · 900×540 · 216 dpiskipped12.8 KB——lossless preset — images untouched
balancedp.1 · 900×540 · 216 dpikept12.8 KB——re-encoded copy was not smaller enough — original kept · text layers: not sure it is text: only 37 text-like shapes found
strongp.1 · 900×540 · 216 dpikept12.8 KB——flat graphic (chart, screenshot or diagram): JPEG would blur its edges — original kept · text layers: not sure it is text: only 37 text-like shapes found
balanced, JPEG onlyp.1 · 900×540 · 216 dpikept12.8 KB——re-encoded copy was not smaller enough — original kept

Review lines (balanced): fonts subset: 1 of 1 · 87.6 KB → 19.0 KB

(h) Merged document (3 × g) · 313.2 KB

Three copies of the office export merged into one six-page file, each with its own copy of the font and the chart.

settingoutputsavedtimeimageswhat helpedquality
lossless34.0 KB89.1%37 msskippedduplicates 207.5 KB, fonts 68.6 KB, structure 3.1 KB—
balanced34.0 KB89.1%114 mskeptduplicates 207.5 KB, fonts 68.6 KB, structure 3.1 KB—
strong34.0 KB89.1%120 mskeptduplicates 207.5 KB, fonts 68.6 KB, structure 3.1 KB—
balanced, JPEG only34.0 KB89.1%92 mskeptduplicates 207.5 KB, fonts 68.6 KB, structure 3.1 KB—
image by image
settingimageactionbeforeafterSSIM mean / worstreason
losslessp.1,3,5 · 900×540 · 216 dpiskipped12.8 KB——lossless preset — images untouched
balancedp.1,3,5 · 900×540 · 216 dpikept12.8 KB——re-encoded copy was not smaller enough — original kept · text layers: not sure it is text: only 37 text-like shapes found
strongp.1,3,5 · 900×540 · 216 dpikept12.8 KB——flat graphic (chart, screenshot or diagram): JPEG would blur its edges — original kept · text layers: not sure it is text: only 37 text-like shapes found
balanced, JPEG onlyp.1,3,5 · 900×540 · 216 dpikept12.8 KB——re-encoded copy was not smaller enough — original kept

Review lines (balanced): duplicates removed: 12 objects, 207.5 KB · fonts subset: 1 of 1 · 87.6 KB → 19.0 KB

(i) CAD-like vector drawing · 12.1 KB

An A3 sheet of vector line work — a gear, hatching, bolt circles, dimensions and a title block — with no images, content already flate-compressed.

settingoutputsavedtimeimageswhat helpedquality
lossless12.0 KB0.9%8 msno imagesnothing—
balanced12.0 KB0.9%7 msno imagesnothing—
strong12.0 KB0.9%6 msno imagesnothing—
balanced, JPEG only12.0 KB0.9%11 msno imagesnothing—

(j) Text page with leftover junk · 153.2 KB

A one-page text document carrying editor private data (/PieceInfo), a page thumbnail, page and document XMP, an Info dictionary and an orphaned old image.

settingoutputsavedtimeimageswhat helpedquality
lossless5.1 KB96.6%10 msno imagesjunk 146.9 KB, structure 1.1 KB—
balanced5.1 KB96.6%6 msno imagesjunk 146.9 KB, structure 1.1 KB—
strong5.1 KB96.6%5 msno imagesjunk 146.9 KB, structure 1.1 KB—
balanced, JPEG only5.1 KB96.6%5 msno imagesjunk 146.9 KB, structure 1.1 KB—

Review lines (balanced): junk removed: editor data ×1, thumbnails ×1, object XMP ×1, 4 unreferenced objects (146.9 KB)

Zoomed crops

Regions of the rendered pages at 200% (pdf.js, 2.67 pixels per point), saved as lossless WebP so the crops show exactly what was rendered. Each row is the same region of the original and of the compressed copies.

(a) Heading and 10.5 pt text on the clean scan
Heading and 10.5 pt text on the clean scan: original
original · 1.51 MB
Heading and 10.5 pt text on the clean scan: balanced
balanced · 2 × JBIG2 · 63.3 KB
Heading and 10.5 pt text on the clean scan: strong
strong · 2 × JBIG2 · 43.1 KB
(b) Text in the darker corner of the uneven scan
Text in the darker corner of the uneven scan: original
original · 1.51 MB
Text in the darker corner of the uneven scan: balanced
balanced · MRC · 80.6 KB
Text in the darker corner of the uneven scan: strong
strong · MRC · 74.9 KB
Text in the darker corner of the uneven scan: balanced, JPEG only
balanced, JPEG only · JPEG · 215.5 KB
(c) Pencil notes beside typed text
Pencil notes beside typed text: original
original · 722.8 KB
Pencil notes beside typed text: balanced
balanced · MRC · 43.5 KB
Pencil notes beside typed text: strong
strong · MRC · 43.5 KB
Pencil notes beside typed text: balanced, JPEG only
balanced, JPEG only · JPEG · 128.2 KB
(d) The colour letter's logo
The colour letter's logo: original
original · 1.02 MB
The colour letter's logo: balanced
balanced · MRC · 62.4 KB
The colour letter's logo: strong
strong · MRC · 56.6 KB
The colour letter's logo: balanced, JPEG only
balanced, JPEG only · JPEG · 155.2 KB
(d) Body text on tinted paper
Body text on tinted paper: original
original · 1.02 MB
Body text on tinted paper: balanced
balanced · MRC · 62.4 KB
Body text on tinted paper: balanced, JPEG only
balanced, JPEG only · JPEG · 155.2 KB
(e) Photo detail: ridge line and foreground texture
Photo detail: ridge line and foreground texture: original
original · 2.18 MB
Photo detail: ridge line and foreground texture: balanced
balanced · JPEG · 83.5 KB
Photo detail: ridge line and foreground texture: strong
strong · JPEG · 33.4 KB
(f) Brochure photo: ridges and fine grass texture
Brochure photo: ridges and fine grass texture: original
original · 1.66 MB
Brochure photo: ridges and fine grass texture: balanced
balanced · 5 × JPEG · 83.3 KB
Brochure photo: ridges and fine grass texture: strong
strong · 5 × JPEG · 36.1 KB
(g) Bar chart axis labels and bar edges
Bar chart axis labels and bar edges: original
original · 104.8 KB
Bar chart axis labels and bar edges: balanced
balanced · kept · 34.0 KB
Bar chart axis labels and bar edges: strong
strong · kept · 34.0 KB

What the numbers show

Where it does not help

Rebuild it

The generator and the test harness are in the site's repository under scripts/bench/. node --experimental-strip-types scripts/bench/pdf-compress-generate.ts rebuilds the ten files from seed 20261031, and node scripts/bench/pdf-compress-bench.mjs reruns this benchmark in a browser and rewrites the data behind this page.

Compress a PDF → · about this site