[Kst] QT Benchmarks

Barth Netterfield netterfield at astro.utoronto.ca
Thu Dec 2 00:46:40 CET 2004


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!

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)

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.

Oddness...  I'll post the benchmark program shortly.

cbn



More information about the Kst mailing list