[Kst] New times

George Staikos staikos at kde.org
Fri Dec 17 00:22:50 CET 2004


With today's work, it looks like plot overhead has been reduced to "expected" 
things now.  ObjectTime - PlotTime is less than 10ms, where before it was 
10-35ms.  Locking still proves to be insignificant.  Unfortunately I can only 
drive about 7Hz on my laptop which isn't so good.  Plotting the curves is 
actually fairly efficient with lines of default thickness - 40ms total spent 
on that.  Labels are more significant for me.

This was not a huge number of points, but it doesn't matter really.  This will 
be the initial "snappiness" that we need to restore I think.

kst:  -> Toplevelview internally took 5ms
Plotting curve 0: 18ms
    Without locks: 18ms
            Lines: 18ms
kst: Plot Benchmark stats:
kst:    Initialization: 3ms
kst:    Plot Labels: 35ms
kst:    Plot Images: 0ms
kst:    Plot Grid Lines: 0ms
kst:    plot Legend: 0ms
kst:    Plot Curves: 19ms
kst:    plot Axes: 5ms
kst:    plot Markers: 0ms
kst:    plot arbitrary Labels: 0ms
kst:    Flush Painter: 0ms
kst: Plot Total: 62ms
kst:    -> object P1 took 64ms
Plotting curve 0: 22ms
    Without locks: 22ms
            Lines: 21ms
kst: Plot Benchmark stats:
kst:    Initialization: 19ms
kst:    Plot Labels: 14ms
kst:    Plot Images: 0ms
kst:    Plot Grid Lines: 0ms
kst:    plot Legend: 0ms
kst:    Plot Curves: 22ms
kst:    plot Axes: 16ms
kst:    plot Markers: 0ms
kst:    plot arbitrary Labels: 0ms
kst:    Flush Painter: 0ms
kst: Plot Total: 71ms
kst:    -> object P2 took 77ms
kst:  -> Parent class took 142ms
kst: paintAll with painttype 1 - 148ms

-- 
George Staikos
KDE Developer				http://www.kde.org/
Staikos Computing Services Inc.		http://www.staikos.net/



More information about the Kst mailing list