[Kst] Interesting performance results

George Staikos staikos at kde.org
Wed Dec 15 23:47:28 CET 2004


On Wednesday 15 December 2004 17:41, Andrew Walker wrote:
> You don't mention how many points are in each of the curves,
> which would seem to be rather important. How do these numbers
> compare if you points, points and lines, dashed line, etc?
>
> Also, I think to get more meaningful results it might be worth doing
> some of these tests in loops of 1000 (for example) to get a good average.
> Assuming that caching doesn't play a major role it will give a more
> accurate idea of where the time is going.
>

Here it is with a cold cache on startup with 15000 points, no streaming data.  
I'll ramp up to half a million or a million points, add thicker curves, and 
points, and try again.

Plotting curve 0: 2ms
    Without locks: 2ms
            Lines: 2ms
kst: Plot Benchmark stats:
kst:    Initialization: 1ms
kst:    Plot Labels: 5ms
kst:    Plot Images: 0ms
kst:    Plot Grid Lines: 0ms
kst:    plot Legend: 0ms
kst:    Plot Curves: 2ms
kst:    plot Axes: 2ms
kst:    plot Markers: 0ms
kst:    plot arbitrary Labels: 0ms
kst:    Flush Painter: 0ms
kst: Plot Total: 10ms
Plotting curve 0: 0ms
    Without locks: 0ms
kst: Plot Benchmark stats:
kst:    Initialization: 3ms
kst:    Plot Labels: 3ms
kst:    Plot Images: 0ms
kst:    Plot Grid Lines: 0ms
kst:    plot Legend: 0ms
kst:    Plot Curves: 3ms
kst:    plot Axes: 2ms
kst:    plot Markers: 0ms
kst:    plot arbitrary Labels: 4ms
kst:    Flush Painter: 0ms
kst: Plot Total: 15ms
Plotting curve 0: 0ms
    Without locks: 0ms
kst: Plot Benchmark stats:
kst:    Initialization: 3ms
kst:    Plot Labels: 3ms
kst:    Plot Images: 0ms
kst:    Plot Grid Lines: 0ms
kst:    plot Legend: 0ms
kst:    Plot Curves: 0ms
kst:    plot Axes: 3ms
kst:    plot Markers: 0ms
kst:    plot arbitrary Labels: 0ms
kst:    Flush Painter: 0ms
kst: Plot Total: 9ms
kst: Dialogs updated in 340ms
kdeui (KMainWindow): KMainWindow::saveMainWindowSettings KST-KMainWindow
Plotting curve 0: 2ms
    Without locks: 2ms
            Lines: 2ms
kst: Plot Benchmark stats:
kst:    Initialization: 1ms
kst:    Plot Labels: 3ms
kst:    Plot Images: 0ms
kst:    Plot Grid Lines: 0ms
kst:    plot Legend: 0ms
kst:    Plot Curves: 2ms
kst:    plot Axes: 2ms
kst:    plot Markers: 0ms
kst:    plot arbitrary Labels: 0ms
kst:    Flush Painter: 0ms
kst: Plot Total: 8ms
Plotting curve 0: 1ms
    Without locks: 0ms
kst: Plot Benchmark stats:
kst:    Initialization: 1ms
kst:    Plot Labels: 2ms
kst:    Plot Images: 0ms
kst:    Plot Grid Lines: 0ms
kst:    plot Legend: 0ms
kst:    Plot Curves: 1ms
kst:    plot Axes: 3ms
kst:    plot Markers: 0ms
kst:    plot arbitrary Labels: 1ms
kst:    Flush Painter: 0ms
kst: Plot Total: 8ms
Plotting curve 0: 0ms
    Without locks: 0ms
kst: Plot Benchmark stats:
kst:    Initialization: 1ms
kst:    Plot Labels: 3ms
kst:    Plot Images: 0ms
kst:    Plot Grid Lines: 0ms
kst:    plot Legend: 0ms
kst:    Plot Curves: 1ms
kst:    plot Axes: 3ms
kst:    plot Markers: 0ms
kst:    plot arbitrary Labels: 0ms
kst:    Flush Painter: 0ms
kst: Plot Total: 8ms

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



More information about the Kst mailing list