KWin no longer requires KService framework for finding it's plugins. It's all either KPluginLoader or KPackage. So no more sycoca and with that comes a faster startup.
It's weird times when not using a cache means things are faster :DJul 7, 2015
+Albert Astals Cid It's weird indeed, but i occasionally find cases where caching hurts more then just not caching at all.
Always benchmark with and without caching :)Jul 7, 2015
Cache helps if what you're caching is slower to get at than the cache itself (including cache sync overhead) && (you have more than one access || you can prefetch without stealling precious cyles/memory) :)Jul 7, 2015
Sycoca is a cache that is (usually) synced once at startup. So if something is on the critical path for startup, of course it makes sense not to wait for the whole cache to be updated and just get the required information directly. That doesn't mean that the cache is bad for performance after startup.
If it acted like most caches, bypassing the cache for information not yet available would be automatic. Which is probably hard because one would then need to limit the search (API change, more burden on the caller) or do work equivalent to building the whole cache.Jul 7, 2015
Wow. I just tried it. It is MUCH faster on startup on qemu.Jul 8, 2015
Add a comment...