Jump to: navigation, search

Difference between revisions of "Performance3.3"

(Equinox Framework)
(JDT Core)
 
(24 intermediate revisions by 7 users not shown)
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 ==
 +
<p>
 +
Fixed items are colored in <font color="#33cc00">green</font><br>
 +
Deferred items are colored in <font color="#ff0000">red</font>
 +
</p>
  
 
=== Equinox Bundles ===
 
=== Equinox Bundles ===
  Core Headless Startup performance decresed for Eclipse 3.3 ([https://bugs.eclipse.org/bugs/show_bug.cgi?id=180219 bug 180219])
+
<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>
  
 
=== Equinox Framework ===
 
=== Equinox Framework ===
  <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="#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 Debug ===
 
=== Platform Debug ===
  RetargetAction should not update upon text selection change ([https://bugs.eclipse.org/bugs/show_bug.cgi?id=180441 bug 180441])
+
  <font color="#33cc00">[RetargetAction should not update upon text selection change </font>([https://bugs.eclipse.org/bugs/show_bug.cgi?id=180441 bug 180441])
  
 
=== Platform Resources ===
 
=== Platform Resources ===
URIUtil.toURI(IPath) and toURI(String) very expensive ([https://bugs.eclipse.org/bugs/show_bug.cgi?id=174148 bug 174148])
+
<font color="#ff0000">
''Not clear that this will have any impact on real user scenarios.<br>The particular performance test that demonstrated this was a micro-benchmark that doesn't seem to reflect real usage.''
+
'''Dani: I added my comments to the bug report. John, please check and if there's nothing we can do we will remove it from this list.'''
+
 
+
 
  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 ===
Line 70: Line 71:
 
  ''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>
  
 +
 +
<font color="#ff0000">[Contributions] Unnecessary plugin loading caused by PluginAction#isOkToCreateDelegate ([https://bugs.eclipse.org/bugs/show_bug.cgi?id=131746 bug 131746])
 +
'''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 ===
 
=== JDT Core ===
  4% regression in build performance test #testFullBuildProjectAllWarnings ([https://bugs.eclipse.org/bugs/show_bug.cgi?id=176808 bug 176808])
+
  <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 ===
 
=== PDE UI ===
  Manifest builder is overzealous ([https://bugs.eclipse.org/bugs/show_bug.cgi?id=89782 bug 89782])
+
  <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:Performance]]
 +
[[Category:Eclipse Project]]

Latest revision as of 09: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.

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

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

Bugs With Possibly High Impact

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

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.

Equinox Framework

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

Platform Debug

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

Platform Resources

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

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.

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

JDT UI

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

PDE UI

Manifest builder is overzealous (bug 89782)

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