Consider BlazeDiff instead of pixelmatch for faster image diffs

オープン
#2,241 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
18/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
活発
技術スタック
typescript
領域
testing

調査の方向性

The payload names only pixelmatch, the image diff library this issue proposes replacing, and gives no file or test paths. Before writing code, find where pixelmatch is used in the repository and check whether maintainers want a dependency change at all, since the thread has only one comment and no decision. A newcomer's first step is a comment asking for that decision; done means a maintainer has either accepted a specific swap with a plan or closed the issue.

索引モデルが issue の本文から書いたものです。

説明

Hey! I made BlazeDiff - the fastest image diff tool (MIT). It keeps pixelmatch approach, but 68% faster on average and 88% faster on identical images (benchmarks).

Initially, made it because my team hurt the visuals testing time. I could make it faster because it first compares blocks of pixels (squares) and skips the blocks that did not change, so only changed ones go to the expensive check.

Vitest, Ant Design, ApexCharts, Vega and React Native Skia (Shopify) already migrated to it.

I can open a PR if you want a faster diff with 0 effort.

Useful links

主要言語
TypeScript
スター
961
フォーク
179
平均マージ
15時間 33分
マージ済み PR(30日)
476

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

getsentry/toolkit のほかの issue

getsentry/toolkit の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。