Back to front pageView on Hacker News (opens in a new tab)Show HN: Plotting 3 years of hourly data in 150ms (opens in a new tab)leeoniya.github.io785 pointsby leeoniya (on Hacker News)6 years agoleeoniya.github.io (opens in a new tab)Time PeriodsComments (102) 48 threadsEarlier commentsumvi6 years ago#Man, you forget how fast computers can be. This really opened my eyes.[-]winrid6 years ago2 replies#Cool!! I wonder how the performance compares to Highcharts?leeoniya6 years ago#https://github.com/leeoniya/uPlot#performance[-]brockwhittaker6 years ago1 reply#For a dataset like this, Highcharts would be slower for sure since it will create DOM SVG components for each of the points. (which this is built with) is much quicker at presenting tons and tons of data points like this.[-]oplav6 years ago1 reply#Highcharts has a Boost module which uses WebGL.Here's a sample chart with 1,000,000 points: https://jsfiddle.net/5bvLgs5w/1/leeoniya6 years ago#the bench code uses the boost module. so it's apples-to-apples:https://github.com/leeoniya/uPlot/blob/master/bench/Highchar...Load more commentsAll comments shown.Couldn't load more comments. Check your connection and try again.
Show HN: Plotting 3 years of hourly data in 150ms (opens in a new tab)leeoniya.github.io785 pointsby leeoniya (on Hacker News)6 years ago
brockwhittaker6 years ago1 reply#For a dataset like this, Highcharts would be slower for sure since it will create DOM SVG components for each of the points. (which this is built with) is much quicker at presenting tons and tons of data points like this.
oplav6 years ago1 reply#Highcharts has a Boost module which uses WebGL.Here's a sample chart with 1,000,000 points: https://jsfiddle.net/5bvLgs5w/1/
leeoniya6 years ago#the bench code uses the boost module. so it's apples-to-apples:https://github.com/leeoniya/uPlot/blob/master/bench/Highchar...
Comments (102) 48 threads
Earlier commentsHere's a sample chart with 1,000,000 points: https://jsfiddle.net/5bvLgs5w/1/
https://github.com/leeoniya/uPlot/blob/master/bench/Highchar...
All comments shown.
Couldn't load more comments. Check your connection and try again.