[Kst] Interesting performance results

Andrew Walker arwalker at sumusltd.com
Wed Dec 15 23:41:44 CET 2004


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.

Andrew

On Wednesday 15 December 2004 14:35, George Staikos wrote:
> I just ran the performance test (QTimer) on my dual athlon machine with
> NVidia GeForce4Ti video card.  The most that plot update takes with three
> plots in one window (one is a histogram, one is a PSD, one is a vcurve, all
> streamed from a realtime ASCII file) is 10ms.  Label drawing is the
> predominant factor too!!  Here are some results for you to verify :-)
>
> 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: 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: 0ms
> kst:    plot Axes: 2ms
> kst:    plot Markers: 0ms
> kst:    plot arbitrary Labels: 1ms
> kst:    Flush Painter: 0ms
> kst: Plot Total: 7ms
> 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: 0ms
> kst:    plot Axes: 2ms
> kst:    plot Markers: 0ms
> kst:    plot arbitrary Labels: 0ms
> kst:    Flush Painter: 0ms
> kst: Plot Total: 6ms
> kst: Update plots
> kst: Posting UpdateDataDialogs
> Plotting curve 0: 3ms
>     Without locks: 3ms
>             Lines: 3ms
> kst: Plot Benchmark stats:
> kst:    Initialization: 2ms
> kst:    Plot Labels: 2ms
> 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: 0ms
> kst:    Flush Painter: 0ms
> kst: Plot Total: 9ms
> 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: 0ms
> kst:    plot Axes: 3ms
> kst:    plot Markers: 0ms
> kst:    plot arbitrary Labels: 0ms
> kst:    Flush Painter: 0ms
> kst: Plot Total: 7ms




More information about the Kst mailing list