GraphiteEditor / GraphiteEditor/Graphite

Make MenuLists populate their contents when opened, not beforehand

Abierto
#909 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Performance Web
Lenguaje dominante
Rust
Estrellas
27.2k
Forks
1.3k
Merge medio
20 h 5 min
PR fusionados (30 d)
57

Descripción

Sending the full MenuList contents each time a layout is sent seems to be causing massive performance slowdowns and memory allocations that have to later be GC'd. We want a MenuList to request its contents from the backend when it's opened, rather than being sent ahead of time in the layout that contains the MenuList. Profiling showed that MenuList creation was one cause of the editor being very slow (back when we were using Vue and its virtual DOM, at least— we'd need to re-profile it under Svelte to get a proper point of comparison).

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

Empieza trazando cómo se incluyen los contenidos de MenuList en el layout y cómo el backend puede proporcionarlos cuando se abre un menú. Perfila el flujo actual de creación y layout, y después verifica que las MenuLists que no se han abierto ya no envíen todos sus contenidos y que, al abrir una, sus contenidos se sigan cargando correctamente.

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

Evaluación

Stack tecnológico
rust
Área
frontend, performance
Tipo de issue
Refactorización
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.