Bug 88635 [EditorMgmt] add performance tracking for content type resolution
This operation could be expensive and should be tracked.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/ide/IDE.java
* @param marker the marker to open
     * @param activate if <code>true</code> the editor will be activated
     * @return an open editor or <code>null</code> not possible
     * @exception PartInitException if the editor could not be initialized
     */
    public static IEditorPart openEditor(IWorkbenchPage page, IMarker marker,
            boolean activate) throws PartInitException {
        
        if (page == null || marker == null) {
            throw new IllegalArgumentException();
        }
        
        if (!(marker.getResource() instanceof IFile)) {
            IDEWorkbenchPlugin
                    .log("Open editor on marker failed; marker resource not an IFile"); 
            return null;
        }
        IFile file = (IFile) marker.getResource();
        
        IEditorRegistry editorReg = PlatformUI.getWorkbench()
                .getEditorRegistry();
        IEditorDescriptor editorDesc = null;
        try {
            String editorID = (String) marker.getAttribute(EDITOR_ID_ATTR);
            if (editorID != null) {
                editorDesc = editorReg.findEditor(editorID);
            }
        } catch (CoreException e) {
            
        }