Community
Participate
Working Groups
There are a number of places where an application's command is looked up by elementID. In each case it iterates over all commands to find a match. With trace profile measurement, this alone takes 274ms which is 1% of the time between showing the workspace prompt and showing the IDE for a JEE IDE. This could be improved with a mapped lookup. I'll provide a patch that maintains a Map in ApplicationImpl and provides API to look up a command by element ID.
New Gerrit change created: https://git.eclipse.org/r/60898
With these changes, the cost of command lookup is reduced to 4ms, a 1% improvement in the time it takes to show the IDE.
Gerrit change https://git.eclipse.org/r/60898 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=7d084641490d9ab423494a832bc2da6cd2012614
Thanks Ed.