Bug 129215 performance tests that run too fast (< 100 ms)
The test org.eclipse.ui.tests.performance.EditorSwitchTest#testEditorSwitch:perf_basic,perf_outline() is running in less than 100 ms on most of the test machines. That's too fast. Need to increase the length of time for which this test runs. We may want to call BasicPerformanceTest.exercise(Runnable, int, int, int) instead of BasicPerformanceTest.exercise(Runnable) from the EditorSwitchTest instead.
tests/org.eclipse.ui.tests.performance/src/org/eclipse/ui/tests/performance/OpenCloseViewTest.java
IWorkbenchWindow window = openTestWindow();
        final IWorkbenchPage page = window.getActivePage();
        
        
        IViewPart view1 = page.showView(viewId);
        page.hideView(view1);
        waitForBackgroundJobs();
        processEvents();
        
       	tagIfNecessary("UI - Open/Close " + view1.getTitle(), Dimension.ELAPSED_PROCESS);
       	setDegradationComment("<a href=https://bugs.eclipse.org/bugs/show_bug.cgi?id=98144>See Bug 98144</a> ");
       	
        exercise(new TestRunnable() {
            public void run() throws Exception {
                startMeasuring();
                IViewPart view = page.showView(viewId);
                processEvents();
                
                page.hideView(view);
                processEvents();
                
                stopMeasuring();
            } 
        });
        
        commitMeasurements();
        assertPerformance();
    }
}