You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After a few recompiles due to editor changes, the page freezes for quite some time. On a "fresh" firefox (i.e. without any possible cache or storage issues)...
This happens in at least Chrome and Firefox. To me, looking at the logs, it seems like an issue with either (1) whatever editor you're using, where changes to code are not being debounced before compiling or (2) some web worker thing. But I'm not qualified to say.
Reproduction
I have no way of reproducing.
Logs
# from chrome
about:srcdoc:163 [svelte] lifecycle_double_unmountTried to unmount a component that was not mounted
console.<computed> @ about:srcdoc:163
about:srcdoc:272 stack trace
console.trace @ about:srcdoc:272
about:srcdoc:163 [svelte] lifecycle_double_unmountTried to unmount a component that was not mounted
console.<computed> @ about:srcdoc:163
about:srcdoc:272 stack trace
console.trace @ about:srcdoc:272
about:srcdoc:163 [svelte] lifecycle_double_unmountTried to unmount a component that was not mounted
console.<computed> @ about:srcdoc:163
about:srcdoc:272 stack trace
console.trace @ about:srcdoc:272
about:srcdoc:163 [svelte] lifecycle_double_unmountTried to unmount a component that was not mounted
console.<computed> @ about:srcdoc:163
about:srcdoc:272 stack trace
console.trace @ about:srcdoc:272
index-ZdIW0gts.js:80 console.clear() was prevented due to 'Preserve log'
index-ZdIW0gts.js:80 running Svelte compiler version 5.0.0-next.133
about:srcdoc:163 [svelte] lifecycle_double_unmountTried to unmount a component that was not mounted
console.<computed> @ about:srcdoc:163
about:srcdoc:272 stack trace
console.trace @ about:srcdoc:272
index-ZdIW0gts.js:80 console.clear() was prevented due to 'Preserve log'
index-ZdIW0gts.js:80 running Svelte compiler version 5.0.0-next.133
about:srcdoc:163 [svelte] lifecycle_double_unmountTried to unmount a component that was not mounted
console.<computed> @ about:srcdoc:163
lifecycle_double_unmount @ playground:output:489
unmount @ playground:output:2102
window.__unmount_previous @ playground:output:2289
eval @ VM52 playground:output:14
handle_message @ about:srcdoc:88
postMessage (async)
(anonymous) @ 3.CAWxXAAe.js:88
iframe_command @ 3.CAWxXAAe.js:88
eval @ 3.CAWxXAAe.js:88
x @ 3.CAWxXAAe.js:391
(anonymous) @ 3.CAWxXAAe.js:442
Nn @ runtime.lPXyeT_a.js:1
(anonymous) @ runtime.lPXyeT_a.js:1
In @ runtime.lPXyeT_a.js:1
F @ runtime.lPXyeT_a.js:1
gn @ runtime.lPXyeT_a.js:1
On @ runtime.lPXyeT_a.js:1
Jn @ runtime.lPXyeT_a.js:1
about:srcdoc:272 stack trace
console.trace @ about:srcdoc:272
unmount @ playground:output:2104
window.__unmount_previous @ playground:output:2289
eval @ VM52 playground:output:14
handle_message @ about:srcdoc:88
postMessage (async)
(anonymous) @ 3.CAWxXAAe.js:88
iframe_command @ 3.CAWxXAAe.js:88
eval @ 3.CAWxXAAe.js:88
x @ 3.CAWxXAAe.js:391
(anonymous) @ 3.CAWxXAAe.js:442
Nn @ runtime.lPXyeT_a.js:1
(anonymous) @ runtime.lPXyeT_a.js:1
In @ runtime.lPXyeT_a.js:1
F @ runtime.lPXyeT_a.js:1
gn @ runtime.lPXyeT_a.js:1
On @ runtime.lPXyeT_a.js:1
Jn @ runtime.lPXyeT_a.js:1
about:srcdoc:70 [Violation] 'message' handler took 22764ms
index-ZdIW0gts.js:80 console.clear() was prevented due to 'Preserve log'
index-ZdIW0gts.js:80 running Svelte compiler version 5.0.0-next.133
about:srcdoc:163 [svelte] lifecycle_double_unmountTried to unmount a component that was not mounted
console.<computed> @ about:srcdoc:163
lifecycle_double_unmount @ playground:output:489
unmount @ playground:output:2102
window.__unmount_previous @ playground:output:2289
eval @ playground:output:14
handle_message @ about:srcdoc:88
postMessage (async)
(anonymous) @ 3.CAWxXAAe.js:88
iframe_command @ 3.CAWxXAAe.js:88
eval @ 3.CAWxXAAe.js:88
x @ 3.CAWxXAAe.js:391
(anonymous) @ 3.CAWxXAAe.js:442
Nn @ runtime.lPXyeT_a.js:1
(anonymous) @ runtime.lPXyeT_a.js:1
In @ runtime.lPXyeT_a.js:1
F @ runtime.lPXyeT_a.js:1
gn @ runtime.lPXyeT_a.js:1
On @ runtime.lPXyeT_a.js:1
Jn @ runtime.lPXyeT_a.js:1
about:srcdoc:272 stack trace
console.trace @ about:srcdoc:272
unmount @ playground:output:2104
window.__unmount_previous @ playground:output:2289
eval @ playground:output:14
handle_message @ about:srcdoc:88
postMessage (async)
(anonymous) @ 3.CAWxXAAe.js:88
iframe_command @ 3.CAWxXAAe.js:88
eval @ 3.CAWxXAAe.js:88
x @ 3.CAWxXAAe.js:391
(anonymous) @ 3.CAWxXAAe.js:442
Nn @ runtime.lPXyeT_a.js:1
(anonymous) @ runtime.lPXyeT_a.js:1
In @ runtime.lPXyeT_a.js:1
F @ runtime.lPXyeT_a.js:1
gn @ runtime.lPXyeT_a.js:1
On @ runtime.lPXyeT_a.js:1
Jn @ runtime.lPXyeT_a.js:1
about:srcdoc:70 [Violation] 'message' handler took 45722ms
It may be #11610 because that's the first PR that observes this behavior, but I'm not sure why yet. My hunch is repeated patching of the prototype causes a massively slow includes/indexof etc
Describe the bug
After a few recompiles due to editor changes, the page freezes for quite some time. On a "fresh" firefox (i.e. without any possible cache or storage issues)...
This happens in at least Chrome and Firefox. To me, looking at the logs, it seems like an issue with either (1) whatever editor you're using, where changes to code are not being debounced before compiling or (2) some web worker thing. But I'm not qualified to say.
Reproduction
I have no way of reproducing.
Logs
System Info
Severity
annoyance
The text was updated successfully, but these errors were encountered: