News for hackers. Stuff that matters.
Re:Smoothie Charts by chime on Monday August 23, 2010 @08:38AM (#1626587)
I see that he is redrawing the whole chart on each refresh: http://github.com/joewalnes/smoothie/raw/master/smoothie.js - .save() and .restore()

One thing he can try to get speed improvements is to absolutely position a double-width canvas tag in an iframe and move the entire canvas tag one pixel to left on each refresh. Then he can just paint the new data on the right-most visible pixel. One canvas has moved -width px, just do a .save() / .restore() and reset it to left: 0px.

I'm not certain if it will help for sure but I have an inkling it might.

Re:Smoothie Charts by pedrocr on Monday August 23, 2010 @09:14AM (#1626661)
There was recently a series of posts about doing what you described for GTK/X:

http://audidude.com/?p=404

the result is in github:

http://github.com/chergert/uber-graph

Re:Smoothie Charts by audidude on Monday August 23, 2010 @03:45PM (#1627789)
I actually made it faster using the drawable as a circular buffer, details here http://audidude.com/?p=470

Quick cpu comparison http://x.dronelabs.com/chris/dropbox/smoothie.png