pycodestyle
pycodestyle copied to clipboard
Performance issue on svelvet.io with Brave
svelvet.io has terrible performance where the widget is in some browsers.
There are no console errors/warnings.
My specs are i7 12700k, 64gb DDR4, RTX 2080ti - all drivers up to date.
Problem exists for
- Windows 11 with Brave
- Ubuntu with Brave
- Ubuntu with Firefox - (not as bad, but the REPL has bad performance here too)
No problem with
- Windows 11 Edge
- Windows 11 Chrome
I made a video showing the behavior of the homepage vs the REPL. https://www.youtube.com/watch?v=IB_Kd1FU-H0
It might possibly be something to do with hardware acceleration settings in the browsers - but the fact that the REPL runs flawlessly is a little concerning.
I did a little bit more investigation.
It's actually caused by this div on the homepage.
<div class="css-blurry-gradient svelte-1gegils"></div>
If I delete that from the DOM, the slow experience goes away (and improves scrolling significantly).
I can't see a visual difference, but my guess is the hardware acceleration is struggling with whatever implementation of blurring is occuring here.