Skip to content

perf: replace pixelmatch with @blazediff/core#2327

Open
teimurjan wants to merge 2 commits into
hexlet-codebattle:masterfrom
teimurjan:perf/blazediff-core
Open

perf: replace pixelmatch with @blazediff/core#2327
teimurjan wants to merge 2 commits into
hexlet-codebattle:masterfrom
teimurjan:perf/blazediff-core

Conversation

@teimurjan

Copy link
Copy Markdown

What: Swap pixelmatch for @blazediff/core in both CSS-battle diff paths (browser widget + runner checker).
Why: Identical pixel-diff results, ~1.5x faster, zero dependencies.
How: Drop-in replacement — same call signature and threshold option, no logic changes.
Notes: @blazediff/core is already used by Vitest, Shopify, Ant Design, Vega, and ApexCharts.

🤖 Generated with Claude Code

teimurjan and others added 2 commits July 17, 2026 13:38
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant