Difference between revisions of "Performance3.3"

From Eclipsepedia

Jump to: navigation, search
(Bugs With Possibly High Impact)
(JDT Core)
 
(32 intermediate revisions by 7 users not shown)
Line 2: Line 2:
 
</h1>
 
</h1>
 
<p>
 
<p>
This page contains the current list of items that jumped to our attention while looking at performance and leak problems.
+
This page contains the current list of items that jumped to our attention while looking at performance and leak problems. See the [[Performance]] page for general Eclipse project performance resources.
 
</p>
 
</p>
  
Line 12: Line 12:
 
<li>each team starts investigating and fixing their bugs according to assigned priority with the help of the performance team</li>
 
<li>each team starts investigating and fixing their bugs according to assigned priority with the help of the performance team</li>
 
</ol>
 
</ol>
 
 
 
<p>
 
Fixed items are colored in <font color="#33cc00">green</font><br>
 
Deferred items are colored in <font color="#ff0000">red</font>
 
</p>
 
  
 
== Priorities ==
 
== Priorities ==
Line 45: Line 38:
  
 
== Bugs With Possibly High Impact ==
 
== Bugs With Possibly High Impact ==
'''Equinox Bundles'''
+
<p>
Core Headless Startup performance decresed for Eclipse 3.3 ([https://bugs.eclipse.org/bugs/show_bug.cgi?id=180219 bug 180219])
+
Fixed items are colored in <font color="#33cc00">green</font><br>
 +
Deferred items are colored in <font color="#ff0000">red</font>
 +
</p>
  
'''Equinox Framework'''
+
=== Equinox Bundles ===
<font color="#33cc00">[build] full build after starting with a newly installed build</font> ([https://bugs.eclipse.org/bugs/show_bug.cgi?id=174930 bug 174930])  
+
<font color="#ff0000">
 +
Core Headless Startup performance decreased for Eclipse 3.3 ([https://bugs.eclipse.org/bugs/show_bug.cgi?id=180219 bug 180219])
 +
Most of the degradation is due to JAR signing. Short of removing JAR signing, the choices seem to be
 +
* (A) accept 0.3 sec slowdown on the startup, or
 +
* (B) create a custom class loader with extremely high probability of breaking Eclipse startup for some people
 +
'''Deferred. See discussion in the bug report.'''
 +
</font>
  
'''Platform Debug'''
+
=== Equinox Framework ===
  RetargetAction should not update upon text selection change ([https://bugs.eclipse.org/bugs/show_bug.cgi?id=180441 bug 180441])
+
  <font color="#33cc00"><strong>Fixed</strong> - [build] full build after starting with a newly installed build</font> ([https://bugs.eclipse.org/bugs/show_bug.cgi?id=174930 bug 174930])
  
'''Platform Resources'''
+
=== Platform Debug ===
  URIUtil.toURI(IPath) and toURI(String) very expensive ([https://bugs.eclipse.org/bugs/show_bug.cgi?id=174148 bug 174148])
+
  <font color="#33cc00">[RetargetAction should not update upon text selection change </font>([https://bugs.eclipse.org/bugs/show_bug.cgi?id=180441 bug 180441])
''Under investigation; code hasn't changed; we may be able to improve performance''
+
  
 +
=== Platform Resources ===
 +
<font color="#ff0000">
 
  ContentTypeMatcher does too much work ([https://bugs.eclipse.org/bugs/show_bug.cgi?id=182337 bug 182337])
 
  ContentTypeMatcher does too much work ([https://bugs.eclipse.org/bugs/show_bug.cgi?id=182337 bug 182337])
''Under investigation; code hasn't changed but there are more content types now.''
+
'''Deferred. See discussion in the bug report.'''
 +
</font>
  
'''Platform UI'''
+
=== Platform UI ===
 
  [Commands] Commands takes 81% of the time to open a workbench window ([https://bugs.eclipse.org/bugs/show_bug.cgi?id=179725 bug 179725])
 
  [Commands] Commands takes 81% of the time to open a workbench window ([https://bugs.eclipse.org/bugs/show_bug.cgi?id=179725 bug 179725])
''Under investigation; don't currently know what is going on.''
+
''Under investigation; don't currently know what is going on.''
  
 
  [EditorMgmt] OpenMultipleEditorTest#testOpenMultipleEditors: running ([https://bugs.eclipse.org/bugs/show_bug.cgi?id=179578 bug 179578])
 
  [EditorMgmt] OpenMultipleEditorTest#testOpenMultipleEditors: running ([https://bugs.eclipse.org/bugs/show_bug.cgi?id=179578 bug 179578])
''Under investigation; don't currently know what is going on. (Kent is assisting)''
+
''Under investigation; don't currently know what is going on. (Kent is assisting)''
  
  [Perspectives] PerspectiveSwitchTest#testPerspectiveSwitch 50% slower than M5 ([https://bugs.eclipse.org/bugs/show_bug.cgi?id=179581 bug 179581])
+
  <font color="#33cc00">[Perspectives] PerspectiveSwitchTest#testPerspectiveSwitch 50% slower than M5 ([https://bugs.eclipse.org/bugs/show_bug.cgi?id=179581 bug 179581])
''Suspect that we have done all we can here. Will take one more look.''
+
''Suspect that we have done all we can here. Will take one more look.''
 +
'''Dani: the huge degradation has been fixed and it is now < 20ms. I'm currently investigating<br>if something obvious causes this, but definitely no longer a big issue.'''</font>
  
  
'''JDT Core'''
+
<font color="#ff0000">[Contributions] Unnecessary plugin loading caused by PluginAction#isOkToCreateDelegate ([https://bugs.eclipse.org/bugs/show_bug.cgi?id=131746 bug 131746])
  4% regression in build performance test #testFullBuildProjectAllWarnings ([https://bugs.eclipse.org/bugs/show_bug.cgi?id=176808 bug 176808])
+
'''Deferred to 3.4'''</font>
  
 +
[ActionSets] toolbar: specifying pull-down forces plugin load ([https://bugs.eclipse.org/bugs/show_bug.cgi?id=136397 bug 136397])
 +
'''Dani: there is a patch but it does not work nicely under Linux.<br>We need guidance from SWT on replacing a cascadedd Menu(Item) while it gets opened.'''
 +
 +
=== JDT Core ===
 +
<font color="#33cc00">4% regression in build performance test #testFullBuildProjectAllWarnings ([https://bugs.eclipse.org/bugs/show_bug.cgi?id=176808 bug 176808]) fixed</font>
 +
 +
<font color="#33cc00">JarPackageFragmentRoot slow to initialize ([https://bugs.eclipse.org/bugs/show_bug.cgi?id=161175 bug 161175]) fixed</font>
 +
 +
<font color="#33cc00">2% regression on some Batch Compiler tests since v_756 ([https://bugs.eclipse.org/bugs/show_bug.cgi?id=188656 bug 188656]) fixed</font>
 +
 +
=== JDT UI ===
 +
<font color="#33cc00">open / close project takes 100 % of the CPU ([https://bugs.eclipse.org/bugs/show_bug.cgi?id=182520 bug 182520]) fixed</font>
 +
 +
=== PDE UI ===
 +
<font color="#33cc00">Manifest builder is overzealous ([https://bugs.eclipse.org/bugs/show_bug.cgi?id=89782 bug 89782])</font>
 
<p>
 
<p>
--[[User:Daniel_megert.ch.ibm.com|Dani]] - 13:10 April 17, 2007 (EDST)
+
--[[User:Daniel megert.ch.ibm.com|Dani]] 04:06, 9 May 2007 (EDT)
 
</p>
 
</p>
 +
 +
[[Category:Performance]]
 +
[[Category:Eclipse Project]]

Latest revision as of 10:04, 9 July 2007

3.3 Performance And Leak Pass

This page contains the current list of items that jumped to our attention while looking at performance and leak problems. See the Performance page for general Eclipse project performance resources.

Contents

[edit] Plan

  1. each team investigates its red performance tests and creates bugs with 'performance' keyword where needed
  2. the team lead prioritizes (see below) bugs that have the performance keyword and looks out for other performance related bugs
  3. the team lead prioritizes bugs reporting leaks (add the 'performance' keyword so that we find them easily). Here is a bug list with 'leak' in the summary.
  4. each team starts investigating and fixing their bugs according to assigned priority with the help of the performance team

[edit] Priorities

The bugs we want to fix get a '3.3' or '3.3 M7' target milestone and the priority using the guidance below. The priority link takes you to the list of the corresponding open 3.3 performance or leak bugs. The ones that are suspected to have high impact are listed below per component.

P1

  • performance test degradations, especially when in the fingerprints
  • bugs that slow down the user in most common scenarios, e.g. full build on startup
  • leaks that happen in common scenarios and grow the memory each time

P2

  • bugs that obviously slow down the user
  • all other leaks that grow each time the scenario is repeated

P3

  • other performance bugs that should be addressed for 3.3
  • leaks that are not real leaks but holding on to last instance

[edit] Bugs With Possibly High Impact

Fixed items are colored in green
Deferred items are colored in red

[edit] Equinox Bundles

Core Headless Startup performance decreased for Eclipse 3.3 (bug 180219)
Most of the degradation is due to JAR signing. Short of removing JAR signing, the choices seem to be 
* (A) accept 0.3 sec slowdown on the startup, or 
* (B) create a custom class loader with extremely high probability of breaking Eclipse startup for some people
Deferred. See discussion in the bug report.

[edit] Equinox Framework

Fixed - [build] full build after starting with a newly installed build (bug 174930)

[edit] Platform Debug

[RetargetAction should not update upon text selection change (bug 180441)

[edit] Platform Resources

ContentTypeMatcher does too much work (bug 182337)
Deferred. See discussion in the bug report.

[edit] Platform UI

[Commands] Commands takes 81% of the time to open a workbench window (bug 179725)
Under investigation; don't currently know what is going on.
[EditorMgmt] OpenMultipleEditorTest#testOpenMultipleEditors: running (bug 179578)
Under investigation; don't currently know what is going on. (Kent is assisting)
[Perspectives] PerspectiveSwitchTest#testPerspectiveSwitch 50% slower than M5 (bug 179581)
Suspect that we have done all we can here. Will take one more look.
Dani: the huge degradation has been fixed and it is now < 20ms. I'm currently investigating
if something obvious causes this, but definitely no longer a big issue.


[Contributions] Unnecessary plugin loading caused by PluginAction#isOkToCreateDelegate (bug 131746)
Deferred to 3.4
[ActionSets] toolbar: specifying pull-down forces plugin load (bug 136397)
Dani: there is a patch but it does not work nicely under Linux.
We need guidance from SWT on replacing a cascadedd Menu(Item) while it gets opened.

[edit] JDT Core

4% regression in build performance test #testFullBuildProjectAllWarnings (bug 176808) fixed
JarPackageFragmentRoot slow to initialize (bug 161175) fixed
2% regression on some Batch Compiler tests since v_756 (bug 188656) fixed

[edit] JDT UI

open / close project takes 100 % of the CPU (bug 182520) fixed

[edit] PDE UI

Manifest builder is overzealous (bug 89782)

--Dani 04:06, 9 May 2007 (EDT)