Consider BlazeDiff instead of odiff for faster image diffs

Aperta
#3,152 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
javascript, rust, typescript

Direzione di ricerca

Start by locating where Galacean Engine performs or configures image diffs, then check its package and visual testing setup. Compare whether BlazeDiff fits the existing workflow and verify its performance and integration requirements; done would mean a decision on adopting it, with any migration validated against current image diff behavior.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Hey! I made BlazeDiff - the fastest image diff tool (MIT). It keeps odiff approach, but 70% faster on large 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.

It does not use a dangerous postinstall script. It is N-API in a single process, so you do not need to run a server to save on the overhead, as with odiff.

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

Lingua principale
TypeScript
Stelle
5.9k
Fork
413
Merge medio
16h 17m
PR unite (30g)
41

Preparare l'ambiente

  • Nessun Dockerfile né file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di galacean/engine

Tutte le issue di galacean/engine

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.