Kill the splash screen, finally?
Kevin Funk
kfunk at kde.org
Thu Feb 18 21:15:21 UTC 2016
Heya,
I've just measured KDevelop's startup performance a bit (got annoyed by the
slow startup).
I just killed around ~500 ms(!) [2] of startup delay [1] b/c the welcome page
loaded its QML page synchronously (sic).
I could kill another ~500 ms(!) (no joke) by removing the splash screen.
Before (with splash):
[kdevelop(6424)/(kdevelop.app) unknown(0): Done startup - took: 1891 ms
After (without splash):
[kdevelop(4888)/(kdevelop.app) unknown(0): Done startup - took: 1332 ms
Reasons for removing the splash:
* Delays startup unnecessarily
* The splash screen is still broken in some configurations:
I'm seeing a white ~10 px border on the right for instance. I won't work on
fixing this...
* It's 2016, splash screens are kind of out of fashion.
Cheers,
Kevin
[1] Startup delay: I measure via an elapsed timer in app/main.cpp, from
entering main() to entering the main event loop. No scientific profiling, otoh
in this case *time* is the only thing which matters. We want to enter the main
event loop as fast as possible.
[2] Measurement: Started a fresh KDevelop instance 3 times for each test
cycle, used the average time taken.
--
Kevin Funk | kfunk at kde.org | http://kfunk.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20160218/e8ead975/attachment.sig>
More information about the KDevelop-devel
mailing list