Benchmarks
100 real-world SVG logos exported from Figma, Illustrator, Inkscape, and svgrepo. 902.8 KiB total original size. Same files, same machine, median of 5 runs.
0.4.0 trades about 0.4 points of compression (0.3.9: 18.5%) for SVGO-equivalent safety. Every optimization SVGO refuses as unsafe is now refused by SVGM too, and a 414-file pixel comparison shows no rendering difference between SVGM's output and SVGO's.
Summary
| Metric | SVGM | SVGO |
|---|---|---|
| Compression | 18.1% | 18.2% |
| Compression gap | -0.1 pts | |
| Output bytes | 756,801 | 755,986 |
| Time, one process per file (median) | 476ms | 11,186ms |
| Time, one process for the folder (median) | 115ms | 278ms |
| Speedup | 23.5x per file, 2.4x batch | baseline |
| Files where tool wins | 36 | 62 |
| Files tied | 2 | 2 |
Timing
Batch mode (svgm -r dir -o out vs svgo -f dir -o out), 5 runs each, median taken. In per-file mode (one process per file, as earlier benchmarks measured), the medians are 476ms for SVGM and 11,186ms for SVGO.
| Run | SVGM | SVGO |
|---|---|---|
| 1 | 510.4ms | 333.6ms |
| 2 | 119.7ms | 274.2ms |
| 3 | 114.6ms | 277.2ms |
| 4 | 114.7ms | 277.6ms |
| 5 | 115.4ms | 279.1ms |
| Median | 115.4ms | 277.6ms |
Where SVGM wins
Files where SVGM's output is at least 0.1 pts smaller than SVGO's. The largest win is +5.2 pts on Buick.
Where SVGO wins
Files where SVGO's output is at least 0.1 pts smaller than SVGM's. Every gap is under 3.5 pts, the largest being 3.2 pts on Mirage. Almost all of the difference is in path data: 0.4.0 follows SVGO's strongRound rule instead of rounding past the configured precision, and an absolute/relative segment choice that sometimes picks the longer form is tracked for the next release.
Per-file breakdown
Compression percentages (higher means more reduction). The gap column shows how much more SVGO compresses than SVGM. Negative gaps mean SVGM wins. Sorted by SVGM advantage.
| File | SVGM | SVGO | Gap | |
|---|---|---|---|---|
| buick.svg | 13% | 7.7% | -5.3 | ahead |
| xcode.svg | 47.4% | 43.8% | -3.6 | ahead |
| logo-chatgpt-atlas.svg | 21.5% | 18.2% | -3.3 | ahead |
| figma-logo.svg | 28% | 24.7% | -3.3 | ahead |
| vercel.svg | 66.4% | 63.5% | -2.9 | ahead |
| vivaldi.svg | 2.7% | 0.3% | -2.4 | ahead |
| artboard-3.svg | 12.6% | 10.3% | -2.3 | ahead |
| stripe-logo-revised-2016.svg | 34.4% | 32.1% | -2.3 | ahead |
| okta-logo.svg | 33.5% | 31.6% | -1.9 | ahead |
| origin-emoji-site-id.svg | 9.9% | 8.1% | -1.8 | ahead |
| gog.svg | 20.8% | 19.2% | -1.6 | ahead |
| cat.svg | 41.6% | 40.2% | -1.4 | ahead |
| xx.svg | 8.3% | 6.9% | -1.4 | ahead |
| google-workspace.svg | 64.3% | 63.1% | -1.2 | ahead |
| firefox-logo.svg | 3.4% | 2.1% | -1.3 | ahead |
| discord.svg | 40.9% | 39.8% | -1.1 | ahead |
| oreo.svg | 2.4% | 1.5% | -0.9 | ahead |
| unsplash-logo-full-stacked.svg | 1.3% | 0.5% | -0.8 | ahead |
| dji.svg | 12.6% | 11.9% | -0.7 | ahead |
| thq-nordic-logo.svg | 37.8% | 37% | -0.8 | ahead |
| artboard-2.svg | 6.5% | 5.8% | -0.7 | ahead |
| megabit.svg | 15.4% | 14.8% | -0.6 | ahead |
| renault-logo.svg | 26.3% | 25.7% | -0.6 | ahead |
| supabase-logo-wordmark-dark.svg | 31.1% | 30.6% | -0.5 | ahead |
| supabase-logo-wordmark-light.svg | 31.2% | 30.8% | -0.4 | ahead |
| cloudflare-logo.svg | 17.8% | 17.4% | -0.4 | ahead |
| browserstack-logo.svg | 33.3% | 33% | -0.3 | ahead |
| remedy-entertainment-logo.svg | 24% | 23.7% | -0.3 | ahead |
| perplexity.svg | 59.7% | 59.4% | -0.3 | ahead |
| redbull-logo.svg | 4.2% | 3.9% | -0.3 | ahead |
| airbnb.svg | 4.4% | 4.2% | -0.2 | ahead |
| adobe-corporate-logo.svg | 48.9% | 48.7% | -0.2 | ahead |
| astro.svg | 51% | 50.9% | -0.1 | ahead |
| playstation.svg | 0.1% | 0% | -0.1 | ahead |
| statickit.svg | 22.8% | 22.8% | 0 | close |
| obsidian.svg | 53.8% | 53.8% | 0 | close |
| id-tokenize.svg | 2.9% | 2.9% | 0 | close |
| icon-kick.svg | 1.8% | 1.8% | 0 | close |
| samsung-wordmark.svg | 38.6% | 38.6% | 0 | close |
| epic-games-logo.svg | 53.9% | 53.9% | 0 | close |
| instagram.svg | 2.8% | 2.9% | +0.1 | close |
| microsoft-edge-logo.svg | 0.2% | 0.3% | +0.1 | close |
| forbes-logo.svg | 0.1% | 0.2% | +0.1 | close |
| samsung.svg | 2.5% | 2.6% | +0.1 | close |
| tinder.svg | 2.3% | 2.4% | +0.1 | close |
| mcdonalds.svg | 0% | 0.1% | +0.1 | close |
| midwest-games.svg | 13.6% | 13.7% | +0.1 | close |
| amazon.svg | 1.6% | 1.8% | +0.2 | close |
| unsplash-logo-full.svg | 0.3% | 0.4% | +0.1 | close |
| critical-reflex.svg | 0% | 0.2% | +0.2 | close |
| kofi-symbol.svg | 21.4% | 21.6% | +0.2 | close |
| amazon-logo.svg | 35.6% | 35.8% | +0.2 | close |
| nuxt.svg | 26.2% | 26.4% | +0.2 | close |
| coca-cola.svg | 2% | 2.2% | +0.2 | close |
| google-play-console.svg | 60.6% | 60.9% | +0.3 | close |
| under-armour.svg | 3.8% | 4.1% | +0.3 | close |
| ping-identity-vector-logo.svg | 20.5% | 20.8% | +0.3 | close |
| bmw-logo.svg | 1.5% | 1.9% | +0.4 | close |
| kelloggs-red.svg | 0.1% | 0.5% | +0.4 | close |
| dunkin-donuts.svg | 4.2% | 4.6% | +0.4 | close |
| rippling-vector-logo.svg | 24.1% | 24.5% | +0.4 | close |
| moonshot-ai.svg | 61.1% | 61.6% | +0.5 | close |
| unilever.svg | 0.1% | 0.6% | +0.5 | close |
| danone.svg | 1.9% | 2.4% | +0.5 | close |
| find-us-on-facebook.svg | 5.8% | 6.3% | +0.5 | close |
| google-play-download.svg | 2.7% | 3.3% | +0.6 | close |
| vite.svg | 25.1% | 25.7% | +0.6 | close |
| incident.svg | 54.1% | 54.7% | +0.6 | close |
| itchio-textless-black.svg | 1.7% | 2.3% | +0.6 | close |
| claude.svg | 52.4% | 53.1% | +0.7 | close |
| apidog.svg | 55.2% | 55.9% | +0.7 | close |
| oxc-icon.svg | 24.4% | 25.1% | +0.7 | close |
| dia.svg | 1.9% | 2.6% | +0.7 | close |
| id-nissan.svg | 5.9% | 6.6% | +0.7 | close |
| google.svg | 0.6% | 1.4% | +0.8 | close |
| sina-weibo.svg | 25.7% | 26.5% | +0.8 | close |
| joint-chiefs-of-staff.svg | 4.1% | 4.9% | +0.8 | close |
| oxc-dark.svg | 24.6% | 25.5% | +0.9 | close |
| oxc.svg | 24.6% | 25.5% | +0.9 | close |
| playtester-studio.svg | 2.3% | 3.3% | +1 | close |
| statamic.svg | 1.5% | 2.5% | +1 | close |
| steam-icon-logo.svg | 1.1% | 2.3% | +1.2 | close |
| relu-games-logo-black-kr.svg | 16.3% | 17.5% | +1.2 | close |
| laravel.svg | 16.3% | 17.6% | +1.3 | close |
| obsidian-icon.svg | 44% | 45.3% | +1.3 | close |
| gg-deals.svg | 7.9% | 9.2% | +1.3 | close |
| netflix.svg | 2.7% | 4% | +1.3 | close |
| bluesky-logo.svg | 10.1% | 11.4% | +1.3 | close |
| anthropic-icon.svg | 73.3% | 74.8% | +1.5 | close |
| opera-gx-icon.svg | 23.9% | 25.5% | +1.6 | close |
| nestle.svg | 9% | 10.6% | +1.6 | close |
| stripe.svg | 0.5% | 2.2% | +1.7 | close |
| jack-daniels.svg | 2.5% | 4.4% | +1.9 | close |
| chipotle.svg | 1.8% | 3.9% | +2.1 | close |
| raycast-logo-vector.svg | 19.1% | 21.6% | +2.5 | close |
| supercell-logo.svg | 31.3% | 33.8% | +2.5 | close |
| google-play-store-badge-en.svg | 30.5% | 33.1% | +2.6 | close |
| whatsapp-icon.svg | 4.6% | 7.5% | +2.9 | close |
| frmwrk.svg | 1.1% | 4% | +2.9 | close |
| mirage.svg | 4.9% | 8.1% | +3.2 | close |