Skip to Content
New: codec-png-native and codec-png-wasm bring the blazediff-png codec to Node and WebAssembly, faster than spng and jSquash. Read more β†’
Comparevs honeydiff

BlazeDiff vs honeydiff

@blazediff/core-native is ~4.0x faster than honeydiff over our 34 fixtures, with image decode and diff PNG writing included. Both are Rust image diffs that ship as native Node addons. The difference is scope and openness: BlazeDiff publishes its full source and also runs in browsers, Python and Rust.

honeydiff is the diff engine of the Vizzly visual testing service, published on npm as @vizzly-testing/honeydiff. Its binaries carry an MIT license, but its public repository holds only a README and a changelog, not the Rust source. It returns rich JSON: changed-region statistics, perceptual scores, and accessibility checks.

At a glance

honeydiffBlazeDiff
LicenseMIT binaries, source not publicMIT, full source on GitHub
RuntimesNode 22 or laterNode, browsers, Workers, Deno, Bun, Python, Rust
PlatformsmacOS arm64, Linux x64 and arm64, Windows x64macOS, Linux and Windows on x64 and arm64
InputFile path or encoded bytesFile path or encoded bytes (core-native), raw RGBA (core)
Color metricCIEDE2000 Ξ”E (default threshold 2)YIQ
Anti-aliasingDetectedDetected
Region outputBuilt in (difference.regions)Separate package: @blazediff/interpret-native
Perceptual scoresSSIM, MS-SSIM, GMSD through analyze()SSIM, MS-SSIM, GMSD and MILO in separate packages

Benchmarks

Both libraries run at their defaults with anti-aliasing on and write a diff PNG. honeydiff thresholds on CIEDE2000 and BlazeDiff on YIQ, so the chart compares speed, not identical output.

JavaScript Native Binary (@blazediff/core-native vs honeydiff) (image IO included)

TOTAL TIME Β· 34 FIXTURES Β· MEAN OF 25 RUNS Β· IO INCLUDED

BlazeDiffOther librariesLower is better
#LibraryVersionTotal timevs honeydiff
1BlazeDiff7.0.02.35s4.05x faster
2honeydiff0.17.09.51sbaseline

Both libraries run at their defaults with antialiasing on and write a diff PNG. honeydiff thresholds on CIEDE2000 Ξ”E and BlazeDiff on YIQ, so this compares speed, not identical output.

Per-fixture results (34)
FixturehoneydiffBlazeDiffBlazeDiff vs honeydiff
4k/11.55s229ms6.79x
4k/1 (identical)521ms185ms2.81x
4k/21.31s305ms4.29x
4k/2 (identical)622ms226ms2.76x
4k/31.25s302ms4.16x
4k/3 (identical)673ms231ms2.92x
blazediff/14.25ms1.92ms2.22x
blazediff/1 (identical)4.08ms0.91ms4.48x
blazediff/24.94ms2.20ms2.24x
blazediff/2 (identical)3.97ms1.08ms3.68x
blazediff/344.03ms21.19ms2.08x
blazediff/3 (identical)39.11ms14.00ms2.79x
blazediff/426.54ms11.35ms2.34x
blazediff/4 (identical)25.44ms4.58ms5.56x
page/1744ms347ms2.15x
page/1 (identical)753ms248ms3.04x
page/21.47s150ms9.81x
page/2 (identical)368ms42.12ms8.74x
pixelmatch/15.27ms1.38ms3.82x
pixelmatch/1 (identical)3.82ms1.11ms3.43x
pixelmatch/25.52ms1.82ms3.03x
pixelmatch/2 (identical)1.49ms0.53ms2.80x
pixelmatch/32.49ms1.19ms2.09x
pixelmatch/3 (identical)2.29ms0.89ms2.56x
pixelmatch/411.03ms4.61ms2.39x
pixelmatch/4 (identical)6.32ms2.08ms3.04x
pixelmatch/51.37ms1.72ms0.80x
pixelmatch/5 (identical)1.89ms0.56ms3.38x
pixelmatch/65.08ms1.80ms2.83x
pixelmatch/6 (identical)1.71ms0.82ms2.08x
pixelmatch/73.46ms1.63ms2.13x
pixelmatch/7 (identical)4.13ms0.63ms6.58x
same/115.79ms3.33ms4.74x
same/1 (identical)14.83ms3.28ms4.52x
TOTAL9.51s2.35s4.05x

pnpm benchmark honeydiff Β· Apple M1 Max Β· darwin/arm64 Β· Node v22.14.0 Β· rustc 1.97.1 (8bab26f4f 2026-07-14) Β· 2026-11-12 Β· 867ed3b-dirty

Switching

honeydiff returns different and a pixels.changed.total count. BlazeDiff returns a kind, identical, and a count.

// Before import { compare } from "@vizzly-testing/honeydiff"; const before = await compare("baseline.png", "current.png", {}); if (before.different) console.log(`${before.pixels.changed.total} pixels differ`);
// After import { diff } from "@blazediff/core-native"; const after = await diff("baseline.png", "current.png", { output: "diff.png" }); if (after.kind === "compared" && !after.identical) { console.log(`${after.count} pixels differ`); }

For the region data honeydiff puts in its result, run difference analysis. It labels each changed region as an addition, a deletion, a shift, a recolor or rendering noise.

When to keep honeydiff

  • You use Vizzly, which builds on it.
  • You want region statistics, perceptual scores and contrast checks from one call.
  • You need CIEDE2000 color thresholds, or alignment of inserted rows.
Last updated on