Consider BlazeDiff instead of odiff for faster image diffs

Abierto
#3,152 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
35/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
javascript, rust, typescript

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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

Lenguaje dominante
TypeScript
Estrellas
5.9k
Forks
413
Merge medio
16 h 17 min
PR fusionados (30 d)
41

Preparar el entorno

  • Sin Dockerfile ni archivo de Docker Compose
  • Tiene una plantilla de pull request
  • Sin guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de galacean/engine

Todos los issues de galacean/engine

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.