This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 86644 - Regression on Page Up/Down between builds 200609281800 & 200610011800
Summary: Regression on Page Up/Down between builds 200609281800 & 200610011800
Status: CLOSED DUPLICATE of bug 86676
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: issues@editor
URL:
Keywords: PERFORMANCE, REGRESSION
Depends on:
Blocks:
 
Reported: 2006-10-06 09:13 UTC by Marian Mirilovic
Modified: 2007-11-05 13:44 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Page Down 1st usage - history (36.22 KB, image/png)
2006-10-06 09:14 UTC, Marian Mirilovic
Details
Page Down Subsequent usage - history (33.84 KB, image/png)
2006-10-06 09:14 UTC, Marian Mirilovic
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marian Mirilovic 2006-10-06 09:13:47 UTC
There is regression in Page Up/Down performance between builds :
200609281800 & 200610011800

The regression is between 100-260%.

-----------------------------------------------------------
200610011800

Press Page Down in the editor
1st usage 	        239 	208 	220 	229 	246 	222 	240
Subsequent usage 	165 	122 	145 	133 	178 	138 	159

Press Page Up in the editor
1st usage 	        306 	262 	239 	214 	288 	238 	257
Subsequent usage 	172 	125 	155 	134 	176 	145 	172
-----------------------------------------------------------

-----------------------------------------------------------
200609281800

Press Page Down in the editor
1st usage 	        93 	89 	90 	88 	67 	56 	69
Subsequent usage 	75 	53 	68 	56 	61 	36 	57

Press Page Up in the editor
1st usage 	       106 	102 	117 	96 	76 	59 	78
Subsequent usage 	73 	58 	72 	62 	64 	47 	63
-----------------------------------------------------------

For graphs look at the attached pictures.

===========================================================
Logs from EventQueue and Repaint Manager: Page Down

200610051800
diff="960" name="KeyEvent KEY_PRESSED keycode=34 keytext=Page Down
diff="967" name="ignored addDirtyRegion javax.swing.JScrollPane, 28,0,706,6765" 
diff="967" name="addDirtyRegion org.openide.text.QuietEditorPane, 0,0,706,6765" 
diff="1130" name="addDirtyRegion org.openide.text.QuietEditorPane, 0,735,706,6765"
diff="1131" name="ignored addDirtyRegion javax.swing.JScrollPane$ScrollBar,
0,15,18,150"
diff="1132" name="ignored addDirtyRegion javax.swing.JScrollPane, 0,0,28,13530"
diff="1132" name="ignored addDirtyRegion
org.netbeans.modules.editor.CustomizableSideBar, 0,0,28,13530" 
diff="1172" name="addDirtyRegion org.openide.text.QuietEditorPane, 0,0,706,15" 
diff="1174" name="addDirtyRegion org.openide.text.QuietEditorPane, 0,720,706,15" 
diff="1182" name="DONE PAINTING" time="1160089281542"
diff="1244" name="MEASURED TIME=223"

200609281800
diff="1056" name="KeyEvent KEY_PRESSED keycode=34 keytext=Page Down 
diff="1058" name="ignored addDirtyRegion javax.swing.JScrollPane, 28,0,706,6765"
diff="1058" name="addDirtyRegion org.openide.text.QuietEditorPane, 0,0,706,6765" 
diff="1121" name="addDirtyRegion org.openide.text.QuietEditorPane, 
diff="1122" name="ignored addDirtyRegion javax.swing.JScrollPane$ScrollBar, 
diff="1123" name="ignored addDirtyRegion javax.swing.JScrollPane, 0,0,28,13530" 
diff="1123" name="ignored addDirtyRegion
org.netbeans.modules.editor.CustomizableSideBar, 0,0,28,13530" 
diff="1144" name="addDirtyRegion org.openide.text.QuietEditorPane, 0,0,706,15" 
diff="1145" name="addDirtyRegion org.openide.text.QuietEditorPane, 0,720,706,15" 
diff="1148" name="DONE PAINTING"
diff="1245" name="ignored addDirtyRegion
org.netbeans.modules.editor.errorstripe.AnnotationView, 0,0,13,729" 
diff="1344" name="ignored addDirtyRegion org.netbeans.editor.StatusBar$Cell, 
diff="1352" name="MEASURED TIME=92"
=============================================
Comment 1 Marian Mirilovic 2006-10-06 09:14:17 UTC
Created attachment 34961 [details]
Page Down 1st usage - history
Comment 2 Marian Mirilovic 2006-10-06 09:14:36 UTC
Created attachment 34962 [details]
Page Down Subsequent usage - history
Comment 3 Marian Mirilovic 2006-10-06 09:25:25 UTC
From the changelog I see only this relevant commit (fix in the editor module
between 200609281800 and 200610011800) :
issue 85000 - removed caching of Syntaxes in BaseDocument and removed caching in
SegmentCache

the others are irrelevant, but who knows ;) :
issue 85864 - Use desktop AA settings on 1.6
issue 81117 - ClassCastException when JTextField activated before clicking on
Find Selection in editor toolbar.
Comment 4 Marian Mirilovic 2006-10-06 14:07:30 UTC
I also reported regression on Open Java/Jsp file - issue 86676
Comment 5 Miloslav Metelka 2006-10-06 17:34:36 UTC
It's likely
issue 85864 - Use desktop AA settings on 1.6
but it should only influence 1.6 while the attached graphs contain 1.5 as well
(is that right?).
Comment 6 Miloslav Metelka 2006-12-06 10:58:22 UTC
My previous note is not correct - the real cause is the same like in issue 86676
so making this a dup of it.

*** This issue has been marked as a duplicate of 86676 ***
Comment 7 Marian Mirilovic 2007-05-04 08:16:52 UTC
v/c