[Kst] QT Benchmarks
George Staikos
staikos at kde.org
Thu Dec 2 03:09:12 CET 2004
On Wednesday 01 December 2004 18:46, Barth Netterfield wrote:
> Been playing a bit with benchmarks for drawing, etc...
>
> On my P4 w/ a Radeon 9100:
> Lines into Pixmaps: length 1000 Rate: 705900/s
> Lines into Pixmaps: length 100 Rate: 1725500/s
> Lines into Pixmaps: length 10 Rate: 2109600/s
> fillRect into Pixmaps: size 1000 Rate: 151.659/s
> Draw image into widget (1280 x 1024). Rate: 14.2993/s
> Draw pixmap into widget (1280 x 1024). Rate: 52.0341/s
>
> On my Centrino/Mobile radeon:
> Lines into Pixmaps: length 1000 Rate: 40360/s
> Lines into Pixmaps: length 100 Rate: 294800/s
> Lines into Pixmaps: length 10 Rate: 2069400/s
> fillRect into Pixmaps: size 1000 Rate: 630.631/s
> Draw image into widget (1280 x 1024). Rate: 19.7433/s
> Draw pixmap into widget (1280 x 1024). Rate: 246.548/s
>
> Huge difference!
Yes, looks like images are a no-go. Too bad we can't do pixmap ops from
the other thread. Are there any other approaches we could take to move
drawing into the thread?
Interesting that your P4 is so much faster with length 1000 and 100
lines...
> From an ancient pc running as an Xterminal, the benchmark tends to either
> crash or give very strange answers (I think it is flooding the X queue)
Yeah there are lots of issues there....
> Without lots of 'processEvents' the same thing happends on the laptop.
>
> QImages do not support painters, or fonts, or lines, or.... so are probably
> not an option for us. They are also very slow.
Well that's not much of a problem.
--
George Staikos
KDE Developer http://www.kde.org/
Staikos Computing Services Inc. http://www.staikos.net/
More information about the Kst
mailing list