Lurker News

Comments (102) 48 threads

Show all comments

Showing thread 1 of 48

leeoniya11 replies#
Unfortunately, I have to use Google Analytics and Google Ads at work every day, and these UIs have absolutely terrible performance :(

A small part of the problem is drawing the trend charts. So I decided to make uPlot [1] to see what was really possible.
[1] https://github.com/leeoniya/uPlot

hardwaresofton1 reply#
Hopefully the upvotes and being on the front page is enough, but if not just want to say props, this is amazing. Already had it saved in my bookmarks glad to see it pop up again :)
leeoniya#
thanks!
contravariant1 reply#
Honestly the title doesn't do it justice. For a plotting tool it's not an impossible task, but making a webpage this responsive is incredibly hard, so well done there.
leeoniya#
it's an understatement for sure :)

a lot of time is spent on just DOM layout and JITing the JS, which get amortized with huge datasets. the 166k bench doesnt take any longer.

doublesCs1 reply#
Hi, I'm very interested in this. I've been using dask/plotly for a side project but it's just too slow. If you know dask, do you think you could discuss which features of dask your project has and doesn't have?
vamega1 reply#
I don't think that actually plots the 40M points, just aggregates them in Python and plots a small section of that data on the website?

Continue this thread — 1 reply

gesman3 replies#
It plots cell towers in the middle of my residential neighborhood where i absolutely sure there aren't any

Continue this thread — 3 replies

hardlianotion#
That's rather beautiful.
simmers#
Kudos for directing folks to other projects if uPlot isn't fast enough for them. Every developer should take the time to write out appropriate and inappropriate use-cases on the readme.
adeelk93#
I like this a lot! Reminds me of dygraphs, and then I saw it in that in the acknowledgements :)
jedberg#
This is fantastic and may solve a real problem for me. Thank you so much, and thank you for the MIT license!
maxwellg1 reply#
The 166k benchmark is ridiculously snappy. Could you shave off a few more ms by inlining the JSON as a data block?
leeoniya#
probably, but something about diminishing returns...:p
chrissnell#
This is awesome. I wrote some software to pull readings off my weather station and stream them to the browser. The plotting library that I use is pretty awful. Besides being slow, it's constantly hosing up the numbers on the y-axis. I want to give uPlot a shot.

Station: https://carlisleweather.com
Software: https://github.com/chrissnell/gopherwx

jrumbut#
This is just incredible.
victorthehuman#
This is a test reply please ignore it, it will be deleted in a few minutes.