Re:Show HN: Plotting 3 years of hourly data in 150ms
by ehsankia on Friday May 01, 2020 @08:50PM
(#23048069)
The problem with large websites is that there's a dozen layers of abstractions leading to large and inefficient code. But when it comes to just raw speed (iterating over a huge array of numbers in a tight loop, like drawing this chart), then it's blazing fast especially with JIT. That's specifically where a lot of people underestimate JS. I've seen a lot of people do things in the backend when they can just send all the data and do all the filtering/sorting locally leading to much faster UX.
[ Parent
| on HN ]
There are no comments on this comment yet.