Description
I came across the problem, that redrawing the plots (with new data) takes a lot of time. E.g. in the attached profile graph one single plot took around 40ms, where half of the time(!) is spent for drawAxes
, or more precisely drawLabels
.
Having half of the redraw time spent on doing labels? Seems quite inappropriate to me and I wonder if this can be speed up?
The problem is that it adds up quite a lot when having multiple plots at one page, just 10 plots and suddenly the redrawing process takes half a second.
Since the problem lies in drawLabels
, it also doesn't help to reduce the data (doesn't matter much if 5 or 500 points are plotted).
Of course, better performances is everywhere nice, but looking at the profile I've got the feeling that drawLabels might be the best start to get some more.