Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 359082

Summary: ToolBarManagerRenderer$6.changed() takes up ~25% of the time when opening & closing views
Product: [Eclipse Project] Platform Reporter: Oleg Besedin <ob1.eclipse>
Component: UIAssignee: 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    

Description Oleg Besedin CLA 2011-09-27 10:43:22 EDT
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%.
Comment 1 Oleg Besedin CLA 2012-03-28 14:44:04 EDT
The time is currently down to about 10 - 15% which is probably as good as it will get for 4.2.