Heatmap rendering performance when many slider steps
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- JavaScript
- Estrellas
- 18.3k
- Forks
- 2k
- Merge medio
- 2 d 12 h
- PR fusionados (30 d)
- 28
Descripción
Hi,
This one is somehow related to https://github.com/plotly/plotly.js/issues/6521 but slightly different.
-
when working with 1000 slider steps (Plotly slider), the rendering of this heatmap is quite slow (between 1 and 2 frames per second when moving the slider): https://jsfiddle.net/wh1o2pyq/1/
-
When working with 50 slider steps (Plotly slider), the rendering is super fast (more than 10 fps): https://jsfiddle.net/wh1o2pyq/2/
-
When working with 1000 slider steps but with a HTML slider instead of the Plotly slider (
<input type="range">), it is super fast: https://jsfiddle.net/5L9ykt76/
TL;DR: Plotly slider with many hundreds of steps seems to be a bottleneck for heatmap rendering
Does this mean the slider itself is re-rendered for each update, making the whole thing slow?
I believe that solving this issue could have massive improvement on the responsiveness of every Plotly/Dash dashboard using sliders :)
Any idea?
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Línea de trabajo
Comienza con las tres reproducciones enlazadas de JSFiddle, comparando el Plotly slider con 50 y 1000 pasos con el HTML range slider. Perfila las actualizaciones del slider y el renderizado de la heatmap para identificar el cuello de botella; se considera terminado cuando el Plotly slider de 1000 pasos responde sustancialmente más rápido sin cambiar el comportamiento reportado de la heatmap.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- javascript
- Área
- data-visualization, performance
- Tipo de issue
- Error
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100