Hacker News new | ask | show | jobs
by dceddia 2542 days ago
It looks like svelte.dev and the REPL are up and running again, so here's a quick example of a 100x10 table updating every value 100 times per second, with a red/blue class being applied to each cell depending on its value.

It seems to do pretty well! I turned on the FPS meter in Chrome and scrolled around a bunch, and it seems smooth, reporting around ~50fps. It did get my CPU going pretty good, though.

https://svelte.dev/repl/061b958e665c4949bcf831fa5da474c4?ver...

EDIT: The performance is a lot better running as a standalone app (I downloaded the app and ran it locally). Maybe the REPL adds some overhead.

1 comments

when I click through, it seems to just sit there going "loading Svelte compiler..." forever. Tried both firefox/chrome
Ah ok. Maybe it was working in my region and still broken in others :(
Try - https://svelte-website-mrf26sti4q-uc.a.run.app/repl/061b958e...

btw, Looks really snappy on my laptop.

works now, works well for me also, good FPS. looks pretty smooth also.

I would say his next problem is going to be getting the data fast enough to feed the the UI, a nicely packed websocket protocol would work well I'd guess