[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    Systemtray benchmarks
From:       Marco Martin <notmart () gmail ! com>
Date:       2009-03-31 21:04:45
Message-ID: 200903312304.45950.notmart () gmail ! com
[Download RAW message or body]

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


_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic