News for hackers. Stuff that matters.
Re:Show HN: Plotting 3 years of hourly data in 150ms by zlepper on Friday May 01, 2020 @03:44PM (#23045781)
This looks really really neat!

Just want to ask, because I love talking about render performance: have you tried doing this using offfscreen canvas? That should allow you to move a lot of things to a worker, so you avoid blocking the rendering with js? It probably won’t speed up the total time to finished render, but I assume it will lock the page for a shorter period of time?

Re:Show HN: Plotting 3 years of hourly data in 150ms by _bxg1 on Friday May 01, 2020 @07:29PM (#23047571)
If the rendering is this controlled (and sparse), blocking the thread with it isn't really a concern. And with this data size, serialization/deserialization between the main and worker thread would probably become nontrivial.