Bug 288154 [perfs] Comments applied for performance tests may be obsolete
tests/org.eclipse.ui.tests.performance/src/org/eclipse/ui/tests/performance/PerspectiveSwitchTest.java
IWorkbenchWindow window = openTestWindow(id1);
        final IWorkbenchPage page = window.getActivePage();
        assertNotNull(page);
        page.setPerspective(perspective2);
        
        
        IFile aFile = getProject().getFile(activeEditor);
        assertTrue(aFile.exists());
        IDE.openEditor(page, aFile, true);
       	tagIfNecessary("UI - Perspective Switch", Dimension.ELAPSED_PROCESS);
        
        exercise(new TestRunnable() {
            public void run() throws Exception {
                processEvents();
                
                startMeasuring();
                page.setPerspective(perspective1);
                processEvents();
                page.setPerspective(perspective2);
                processEvents();
                stopMeasuring();
            } 
        });
        
        commitMeasurements();
        assertPerformance();
    }
}