Faster app-launching in Cinnamon
The development team took some time earlier this year to investigate Cinnamon’s performance when it comes to launching applications.
It’s really hard to measure the actual time between the moment the mouse button is clicked and the moment the new application is rendered on the screen, with its window properly mapped, and the mapping window animation completely finished. It’s not something that can be timed accurately, yet we all agreed within the development team to say that it either “was”, or “felt” snappier in MATE and Xfce.
At the time, we didn’t know if it was just down to perception (animations, composition), or a feature (registering new apps with the session for instance), or a performance issue.
We developed a little script and a method to measure how long it took to flood the desktop environment with the creation of 200 windows. We could then measure the time reported by the script to build these 200 windows, and the time it actually took the desktop environment to recover from it and have these windows placed/mapped correctly and ready to be interacted with.