| Summary: | ToolBarManagerRenderer$6.changed() takes up ~25% of the time when opening & closing views | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Oleg Besedin <ob1.eclipse> |
| Component: | UI | Assignee: | Platform UI Triaged <platform-ui-triaged> |
| Status: | RESOLVED WORKSFORME | QA Contact: | Paul Webster <pwebster> |
| Severity: | normal | ||
| Priority: | P3 | CC: | remy.suen |
| Version: | 4.2 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
| Bug Depends on: | |||
| Bug Blocks: | 358490 | ||
The time is currently down to about 10 - 15% which is probably as good as it will get for 4.2. |
ToolBarManagerRenderer$6.changed() takes up 25 - 30% of the CPU time when opening & closing views. processAddition() : parentContext.runAndTrack(new RunAndTrack() { @Override public boolean changed(IEclipseContext context) { record.updateVisibility(parentContext.getActiveLeaf()); manager.update(true); // disposeToolbarIfNecessary(toolbarModel); return true; } }); There is also similar MenuManagerRenderer$6.changed(), that seems to be taking up somewhere in the range of 5% - 10%.