4 ms·
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 re
by dceddia 7y 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?version=3.6.3 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.
- keithnz 7y agowhen I click through, it seems to just sit there going "loading Svelte compiler..." forever. Tried both firefox/chrome
- dceddia 7y agoAh ok. Maybe it was working in my region and still broken in others :(
- Papasimons 7y agoTry - https://svelte-website-mrf26sti4q-uc.a.run.app/repl/061b958e665c4949bcf831fa5da474c4?version=3.6.3 https://svelte-website-mrf26sti4q-uc.a.run.app/repl/061b958e... btw, Looks really snappy on my laptop.
- keithnz 7y agoworks 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