]
George Gastaldi closed FORGE-2055.
----------------------------------
Fix Version/s: 2.11.1.Final
Resolution: Done
Introduce caching in CommandFactory to improve performance
----------------------------------------------------------
Key: FORGE-2055
URL:
https://issues.jboss.org/browse/FORGE-2055
Project: Forge
Issue Type: Feature Request
Components: UI - API
Affects Versions: 2.11.0.Final
Reporter: Vineet Reynolds
Assignee: Vineet Reynolds
Fix For: 2.11.1.Final
Currently {{UICommands}} are not cached, especially in scenarios where commands need to
be looked up for metadata. For instance, in the Eclipse Quick Action menu, every launch of
the menu, creates new {{UICommand}} instances and invokes the {{isEnabled}} method on
them. We should minimize the number of times this occurs, since it is wasteful and results
in slower launch times.