GraphiteEditor / GraphiteEditor/Graphite

Make MenuLists populate their contents when opened, not beforehand

Aperta
#909 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Performance Web
Lingua principale
Rust
Stelle
27.2k
Fork
1.3k
Merge medio
20h 5m
PR unite (30g)
57

Descrizione

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).

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.