-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Closed as not planned
Labels
awaiting submitterneeds a reproduction, or clarificationneeds a reproduction, or clarificationfeature requestperfstale-bot
Description
Describe the bug
Just check this repl https://svelte.dev/repl/902d4ccfcc5745d0b927b6db6be4f441?version=3.12.1
There are 22 000 empty text nodes that are really slowing down entire component on update.
Expected behavior
I know that those nodes are for a reason but maybe some virtual approach will be better?
Each node must be created updated and destroyed which takes a lot of time and memory when something change.
Severity
This behavior can lead users to leave svelte because they might not figure out what is wrong - code seems to be ok, but performance is really bad (22 000 extra nodes for 2 500 real ones :O ).
For me this is annoying because I must be careful and watch for those "extra" nodes that are appearing randomly in some circumstances.
prescientmoon, valqelyan, gonchuki, stalkerg, bgoscinski and 8 more
Metadata
Metadata
Assignees
Labels
awaiting submitterneeds a reproduction, or clarificationneeds a reproduction, or clarificationfeature requestperfstale-bot
