hzrd149 / nostrudel

A sandbox for exploring nostr
https://nostrudel.ninja/
MIT License
144 stars 45 forks source link

choppy performance #85

Open GretaFrank opened 11 months ago

GretaFrank commented 11 months ago

i have Intel Extreme Edition HEDT CPU from about 5 years go with 16 GB ram and M.2 SSD on Windows 10 and Chrome Browser and when i do CTRL+ or CTRL- to change the scale of the timeline it takes a solid 5 seconds or so to actually do it ( if i'm far enough down the timeline )...

basically my PC can launch Microsoft Office in about half the time it takes to zoom the timeline in or out ... which is something that is basically instant on any other web page ... with GAB being the slowest still taking about half a second to do it, or about 10 times faster than noStrudel ...

i understand NOSTR has a lot of overhead compared to basically any other webpage and also that most people rarely use CTRL+ and CTRL- to adjust page zoom level but i do it all the time depending on how my eyes are feeling ...

it seems to be slower after i have scrolled through a couple hours worth of timeline. it isn't as bad when you're at the top of the timeline.

on the upside the content loads really fast. it's resizing it that is slow.

i don't really expect this issue to be easily fixable or a high priority but i noticed this so i am reporting it

hzrd149 commented 11 months ago

Unfortunately performance is something that will never be "fixed" but this should improve whenever I get the chance to work on pruning the timeline. basically if your 100 notes down and you change the window size it has to re-render 100 notes :(