What this compares
On 15 November 2026, favseed’s comparison benchmark built the same 103 SVG files with favseed and four other favicon generators, each with its own defaults: 23 of favseed’s test fixtures and 80 openly licensed icons from published icon sets. It counted the files each tool writes and their bytes, timed each build, and scored a transparent 192 and 512 px PNG from each tool against the source.
| Tool | Version | Run as |
|---|---|---|
| favseed | unreleased, as of commit 0089ea0, with @napi-rs/image 1.16.0 | buildFiles({ input }), what favseed logo.svg writes |
| favicons | favicons 7.3.1 | favicons(svg) with no options |
| astro-favicons | astro-favicons 3.1.8, favilib 1.0.5 | its engine, favilib, with the integration’s own defaults: it has no API outside Astro |
| Vite PWA assets generator | @vite-pwa/assets-generator 2.0.0 | the minimal-2023 preset, the one it points new projects to: it has no default |
| RealFaviconGenerator | @realfavicongenerator/generate-favicon 0.9.0, @realfavicongenerator/image-adapter-node 0.9.0 | generateFaviconFiles() with initFaviconIconSettings() |
Results depend on the input. A mark with more gradients or finer detail, another machine or another power setting gives other numbers, and these marks are one corpus among many. The benchmark’s report, bench/compare/README.md, has the method, every default as run, the timing rules and the results for each input.
Features
Each cell links its source: the tool’s own files at the version the benchmark ran, the npm download figures, or the benchmark’s report. “Not checked” means no source was read for that cell.
| Feature | favseed | favicons | astro-favicons | Vite PWA assets generator | RealFaviconGenerator |
|---|---|---|---|---|---|
| Files in the default set | 5 | 69 | 19 | 6 | 7 |
| SVG favicon | Yes, icon.svg, optimised with SVGO (Outputs) | Not by default: favicon.svg is optional, and optional icons are left out | Yes, favicon.svg and safari-pinned-tab.svg (measured) | No: minimal-2023 lists PNG and ICO only | Yes, favicon.svg |
| Animated SVG | Kept: icon.svg keeps CSS and SMIL animation, and the PNG and ICO files are still images (Animation) | Not by default; when asked for, favicon.svg is the source file unchanged, animation included | Kept: favicon.svg and safari-pinned-tab.svg are the source file unchanged (checked) | No SVG written: its favicon link points at your source file, which it does not copy, so the animation is whatever that file holds | Kept: favicon.svg is the source as it is, with attribution metadata added (checked) |
| A var() in the rasters | Resolved before rendering; --var sets a value | Fallback only: librsvg ignores definitions | Fallback only: librsvg ignores definitions | Fallback only: librsvg ignores definitions | Fallback only: librsvg ignores definitions |
| Margin of the maskable and Apple icons | Measured per mark (--padding auto); a mark drawn on a grid is snapped to whole pixels | None: every icon has offset 0, and no maskable icon by default | Offset 13, 13% per side, on the maskable 512 px icon; none on the Apple icon | Fixed: the mark fills 70% of the icon, 15% per side | None by default: the defaults for the manifest and Apple icons draw no background, and the scale applies only with one |
| Library | Yes, build() and buildFiles() | Yes, favicons() | No: it exports the integration and its middleware | Yes, @vite-pwa/assets-generator/api | Yes, generateFaviconFiles() |
| Command line | Yes, favseed | None: its package.json has no bin | None: its package.json has no bin | Yes, pwa-assets-generator | Yes, the separate realfavicon package, with generate, check and inject |
| Vite | Yes, favseed/vite | None in the package | Only inside Astro, where it adds its own Vite plugin | Through vite-plugin-pwa’s experimental pwaAssets option | None among the project’s packages |
| Astro | Yes, favseed/astro | None in the package | Yes, an Astro integration | Through @vite-pwa/astro | None among the project’s packages |
| In the browser | Yes, this site’s generator, with nothing uploaded | Not checked | Not checked | Not checked | Not checked |
| Cache between builds | In the Vite plugin and the Astro integration, keyed on the input, the options and the engine versions (Caching); the command line rebuilds | Not checked | No: it builds the set each time Astro sets up a dev server or a build | No by default: its command line overwrites every file; with --override false it skips a file that exists, whatever it was built from | Not checked |
| Renderer | resvg in @napi-rs/image, a prebuilt native module; this site runs it as WebAssembly | sharp: 0.35.5 as run, with librsvg 2.63.2 | sharp, through favilib: 0.33.5 as run, with librsvg 2.58.93 | sharp: 0.35.5 as run, with librsvg 2.63.2 | sharp, through its Node adapter: 0.34.5 as run, with librsvg 2.61.2 |
| Node.js | 24 or newer | 20.0.0 or newer | None stated in its package.json | 20.19.0 or newer | None stated in the generate-favicon or image-adapter-node package.json |
| Licence | MIT | MIT | MIT | MIT | ISC in package.json, MIT in the licence file |
| Weekly npm downloads, 7 to 13 November 2026 | First published on 22 November 2026, after that week (npm) | 692,493 | 5,538 | 437,875 | 17,760 for generate-favicon |
The whole set
Every file each tool writes by default, over the 101 of 103 inputs every tool built. None of the other four built grid-fallback.svg or grid-tiny.svg, two fixtures whose root element has only a viewBox far smaller than one unit, which libvips rejects; favseed built both. PNG and ICO bytes are the raster total, and SVG files and the rest (manifests and browserconfig.xml) are counted apart. The benchmark ran every tool three times, each time in a fresh Node process; a time per input is the median of those runs’ totals over the inputs, divided by their number. Cold time runs from starting that process to the end of its first build, of a warm-up mark that is not one of the inputs, so it holds Node’s start-up and the loading of the tool. Every tool, favseed included, wrote the same bytes for every input on every repeat run.
| Tool | Files | PNG+ICO bytes | SVG bytes | Other bytes | ms per input | Cold ms |
|---|---|---|---|---|---|---|
| favseed | 5 | 768,580 | 724,731 | 0 | 2,362 | 3,036 |
| favicons | 69 | 637,533,732 | 0 | 191,092 | 2,793 | 1,217 |
| astro-favicons | 19 | 13,043,755 | 1,718,204 | 107,363 | 58 | 197 |
| Vite PWA assets generator | 6 | 1,797,981 | 0 | 0 | 204 | 294 |
| RealFaviconGenerator | 7 | 7,856,238 | 933,887 | 44,036 | 99 | 388 |
The sets differ, so neither their bytes nor their times compare like for like: favicons builds 69 files per input, 34 of them Apple startup images up to 2,796 px, and favseed builds 5. The pair below holds the same two PNGs, framed the same way, from every tool. The times come from one laptop, an AMD Ryzen 7 7840U with Radeon 780M Graphics set to the low-power platform profile, and hold for that machine only.
Like for like
The one pair every tool can write with the same framing: a transparent, unpadded PNG at 192 and 512 px, set up for each tool as the report lists. Bytes are over the 101 inputs every tool built a pair for. A pass means both sizes meet favseed’s accuracy bar on a black and on a white ground: at most 1% of pixels off by more than 8/255, and an edge error of at most 1.5883.
| Tool | 192 px bytes | 512 px bytes | Both | Pass, resvg | Pass, sharp |
|---|---|---|---|---|---|
| favseed | 219,755 | 703,148 | 922,903 | 70/103 (68/101) | 21/101 |
| favicons | 927,661 | 3,755,692 | 4,683,353 | 34/101 | 101/101 |
| astro-favicons | 925,700 | 3,688,339 | 4,614,039 | 34/101 | 101/101 |
| Vite PWA assets generator | 219,344 | 822,559 | 1,041,903 | 17/101 | 22/101 |
| RealFaviconGenerator | 980,580 | 4,076,073 | 5,056,653 | 39/101 | 76/101 |
favicons, astro-favicons and RealFaviconGenerator write lossless truecolour PNGs: each calls sharp’s .png() with no options (favicons, favilib and image-adapter-node), which keeps sharp’s defaults of no palette and zlib compression level 6 (sharp 0.35.5, 0.33.5 and 0.34.5). The Vite PWA assets generator quantises at quality 60, and favseed searches quantised and lossless encodes for the smallest that passes its bar (Effort). So the byte gap is not a gap at equal fidelity: a lossless PNG adds no loss to its own render, which is why favicons and astro-favicons pass against their own renderer on every input.
Each PNG is scored against two references at its own size. The resvg reference is the source as favseed’s renderer draws it, so it favours favseed; the sharp reference is the source drawn losslessly by each tool’s own copy of sharp and librsvg, so it favours that tool, and favseed is scored against sharp 0.35.5 with librsvg 2.63.2.
The two renderers often disagree, so read a pass count as closeness to one renderer, not as encoding quality alone. Scored the same way, the lossless render of sharp 0.35.5 with librsvg 2.63.2 passes against resvg’s on 34 of the 101 inputs both can render. On the other 67, none of the 335 pairs the five tools wrote passes against both references. favseed’s resvg count is out of 103 because only favseed built the two tiny-viewBox fixtures; over the 101 inputs every tool built a pair for, it passes on 68, in brackets in the table. The 4 inputs that use var() all give a fallback and define no custom property, so librsvg draws them in the colours resvg uses and no tool drew a mark black here; the report also gives every count without them.
Where favseed is slower or does less
At its default effort favseed searches for the smallest encode that passes its accuracy bar and finishes every PNG with Zopfli; the other four encode each file once. That costs time. Over the 101 inputs every tool built, as the mean time per input, the median input’s time and the inputs each one builds faster:
- favicons: favseed is faster on the mean (2,362 against 2,793 ms) but slower on the median input (1,739 against 1,194 ms); it is faster on 54 of the 101 inputs and slower on 47; on the fixtures favseed is slower (1,922 against 1,173 ms). These times are for different sets: favicons builds 69 files per input, 34 of them Apple startup images up to 2,796 px, and favseed builds 5.
- astro-favicons: favseed is slower on the mean (2,362 against 58 ms) and slower on the median input (1,739 against 45 ms); it is slower on every one of the 101 inputs.
- Vite PWA assets generator: favseed is slower on the mean (2,362 against 204 ms) and slower on the median input (1,739 against 152 ms); it is slower on every one of the 101 inputs.
- RealFaviconGenerator: favseed is slower on the mean (2,362 against 99 ms) and slower on the median input (1,739 against 29 ms); it is slower on every one of the 101 inputs.
favseed’s cold time, 3,036 ms, is the longest of the five: its first build is a full default-effort build. The benchmark did not time --effort fast, which makes one encode per raster.
favseed needs Node 24 or newer, where favicons asks for 20.0.0 and the Vite PWA assets generator for 20.19.0.
favseed writes 5 files. It makes no Apple startup (splash screen) images, no Windows tiles and no browserconfig.xml, while favicons writes 69, among them 34 startup images and 5 tiles. If you need those files, favseed does not make them.
favseed misses its own bar against the resvg reference on 52 of its 206 like-for-like PNGs, all of them open icons, 19 on the edge clause alone. For each one, its search found no setting that passed, so it kept its quality-80 encode and gave no warning, as decision 29 in DECISIONS.md specifies. Against the sharp reference favseed passes on 21 of 101 inputs, the fewest of the five.
What the others do well
- favicons covers the most platforms by default: 69 files per set, with 34 Apple startup images, 5 Windows tiles and a Yandex manifest.
- astro-favicons (58 ms), RealFaviconGenerator (99 ms) and the Vite PWA assets generator (204 ms) build a set in tens to hundreds of milliseconds per input on the mean. astro-favicons is 41 times as fast as favseed.
- The Vite PWA assets generator writes the smallest pair of the other four, 1,041,903 bytes, with a sharp encode at quality 60; favseed’s pair is 88.6% of its size.
- favicons (101/101) and astro-favicons (101/101) pass against their own renderer on every input they built.
- RealFaviconGenerator writes an SVG favicon by default, and the project ships a favicon checker,
@realfavicongenerator/check-favicon, which itsrealfavicon checkcommand runs against a URL or a local port.
Reproduce
From a checkout, with Node 24 or newer. --install installs the four other tools at their pinned versions into a directory git ignores; none of them is a dependency of favseed or of this site. The full run took 36 minutes on the laptop above.
pnpm install node bench/corpus/fetch.mjs node bench/compare/run.mjs --install --reps 3 --write
The report’s Reproduce section names the exact favseed code and the pinned versions the run used.