Bug 94192 Remove performance instrumentation from builds
We added a number of performance tools to the builds, which should be removed or disabled by the time we release: - .options file in Eclipse install directory for perf stats - Performance view - Heap info status line entry
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/performance/PerformanceView.java
createContextMenu(viewer);
	}
	
	/* (non-Javadoc)
	 * @see org.eclipse.ui.IWorkbenchPart#dispose()
	 */
	public void dispose() {
		PerformanceStats.removeListener(performanceListener);
		super.dispose();
	}
	private PerformanceListener createPerformanceListener() {
		return new PerformanceStats.PerformanceListener() {
			/* (non-Javadoc)
			 * @see org.eclipse.core.runtime.PerformanceStats$PerformanceListener#eventFailed(org.eclipse.core.runtime.PerformanceStats, long)
			 */
			public void eventFailed(PerformanceStats event, long duration) {
				
				viewer.getControl().getDisplay().asyncExec(new Runnable() {
					/*
					 * (non-Javadoc)
					 * 
					 * @see java.lang.Runnable#run()
					 */
					public void run() {
						if (!viewer.getControl().isDisposed())
							viewer.refresh();
					}
				});
			}
		};