Systemtray benchmarks

Marco Martin notmart at gmail.com
Tue Mar 31 23:04:45 CEST 2009


these are some benchmark (probably not realy accurate) should give a really 
gross idea..
i measured the time elased to convert to pass 1000 icons 32x32 argb32
a) converting to png passing the data over dbus and uncompressing again, 10 
runs:
3.442
3.404
3.474
3.262
3.254
3.474
3.354
3.584
3.415
3.363
average
3.403 seconds
293.858 icons/second

b) passing uncompressed raw data, (just image.bits() copied)
2.620
2.656
2.512
2.584
2.588
2.560
2.541
2.552
2.584
2.520
average
2.572 seconds
388.802 icons/second

that's faster, even if not mindboggling faster

still not tried with pixmap handles, should be way faster, but still think 
portability concerns are way too much

now, with png is where the code and the api is simpler/nicer but is the 
slowest
with raw data it would be compatibe with toolkits that don't have png (there 
are things with dbus support where png could be a prblem? seems unlikely 
but..)

soooo,
opinions? :)

Cheers,
Marco Martin




More information about the Plasma-devel mailing list