Bug 80138 - [plan item] Add critical performance instrumentation
Summary: [plan item] Add critical performance instrumentation
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.0   Edit
Hardware: All All
: P2 enhancement (vote)
Target Milestone: 3.1 M7   Edit
Assignee: Tod Creasey CLA
QA Contact:
URL:
Whiteboard:
Keywords: plan
: 76807 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-12-03 14:24 EST by Jim des Rivieres CLA
Modified: 2005-05-10 14:36 EDT (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jim des Rivieres CLA 2004-12-03 14:24:46 EST
Add support for monitoring performance and detecting problems in performance 
critical aspects of the Eclipse Platform. Potential critical areas to monitor 
include the times to: start up a plug-in, open an editor, display a menu, 
switch perspectives, process an SWT event, process a resource change event, 
etc. [Platform UI; Platform Core; SWT]
Comment 1 John Arthorne CLA 2004-12-06 14:20:28 EST
*** Bug 76807 has been marked as a duplicate of this bug. ***
Comment 2 Tod Creasey CLA 2005-02-22 11:35:16 EST
We have now hooked up the core runtime performance work to the UI Stats. If you
look in the .options file of org.eclipse.ui you will see the numbers we have
defined for thresholds - feel free to adjust as you see fit for your own use.

Currently these events are only collected when the debug flag in the
org.eclipse.ui.options is on to reduce the amount of information currently being
sent to the log. John is working on a performance log. When this is ready we
will turn on this support by default.

I have also released the performance view to the basic group which is
essentially the core performance spy cut down to only show the performance errors.
Comment 3 Tod Creasey CLA 2005-04-13 14:50:15 EDT
We have added performance testing in the following areas:

    public static final int CREATE_PART = 0;

    public static final int CREATE_PART_CONTROL = 1;

    public static final int INIT_PART = 2;

    public static final int CREATE_PERSPECTIVE = 3;

    public static final int RESTORE_WORKBENCH = 4;

    public static final int START_WORKBENCH = 5;

    public static final int CREATE_PART_INPUT = 6;

    public static final int ACTIVATE_PART = 7;

    public static final int BRING_PART_TO_TOP = 8;

    public static final int NOTIFY_PART_LISTENERS = 9;

    public static final int SWITCH_PERSPECTIVE = 10;
    
    public static final int NOTIFY_PAGE_LISTENERS = 11;

    public static final int NOTIFY_PERSPECTIVE_LISTENERS = 12;

    public static final int UI_JOB = 13;
	
  public static final int CONTENT_TYPE_LOOKUP = 14;
Comment 4 Tod Creasey CLA 2005-05-10 14:36:43 EDT
Verified in 20050510