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 86676 - Regression on Open Java/Jsp file between builds 200609281800 & 200610011800
Summary: Regression on Open Java/Jsp file between builds 200609281800 & 200610011800
Status: VERIFIED FIXED
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
: 86644 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-10-06 14:06 UTC by Marian Mirilovic
Modified: 2007-11-05 13:44 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Open Java file - history (35.21 KB, image/png)
2006-10-06 14:08 UTC, Marian Mirilovic
Details
Open Java file if editor opened 1st - history (39.76 KB, image/png)
2006-10-06 14:08 UTC, Marian Mirilovic
Details
Open Java file if editor opened subsequent - history (39.71 KB, image/png)
2006-10-06 14:08 UTC, Marian Mirilovic
Details
Open JSP file - history (36.71 KB, image/png)
2006-10-06 14:08 UTC, Marian Mirilovic
Details
Open JSP file if editor opened 1st - history (38.37 KB, image/png)
2006-10-06 14:10 UTC, Marian Mirilovic
Details
Open JSP file if editor opened subsequent - history (36.10 KB, image/png)
2006-10-06 14:10 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 14:06:14 UTC
There is regression (10-55%) in performance of Open Java/JSP file between builds :
200609281800 & 200610011800
see attached graphs

-----------------------------------------------------------
Compared builds 200610031800 / 200609281800

Open Java file (20kB)
1st usage 	        16  % 	14  % 	6  % 	12  % 	84  % 	16  % 	-8  %
Subsequent usage 	46  % 	31  % 	29  % 	29  % 	19  % 	49  % 	30  %
 Open Java file (20kB) if Editor opened
1st usage 	        41  % 	31  % 	29  % 	26  % 	55  % 	49  % 	41  %
Subsequent usage 	41  % 	32  % 	35  % 	39  % 	51  % 	51  % 	43  %

  Open JSP file
1st usage 	      -13  % 	8  % 	5  % 	4  % 	13  % 	-17  % 	16  %
Subsequent usage 	9  % 	9  % 	14  % 	11  % 	12  % 	-1  % 	9  %
 Open JSP file if Editor opened
1st usage 	        7  % 	6  % 	13  % 	6  % 	10  % 	0  % 	11  %
Subsequent usage 	7  % 	10  % 	17  % 	17  % 	10  % 	0  % 	12  %
--------------------------------------------------

It is spossible that both reported issues (this one + issue 86644) have the same
root of cause.
Comment 1 Marian Mirilovic 2006-10-06 14:08:06 UTC
Created attachment 34985 [details]
Open Java file - history
Comment 2 Marian Mirilovic 2006-10-06 14:08:24 UTC
Created attachment 34986 [details]
Open Java file if editor opened 1st - history
Comment 3 Marian Mirilovic 2006-10-06 14:08:39 UTC
Created attachment 34987 [details]
Open Java file if editor opened subsequent - history
Comment 4 Marian Mirilovic 2006-10-06 14:08:59 UTC
Created attachment 34988 [details]
Open JSP file - history
Comment 5 Marian Mirilovic 2006-10-06 14:10:02 UTC
Created attachment 34989 [details]
Open JSP file if editor opened 1st - history
Comment 6 Marian Mirilovic 2006-10-06 14:10:20 UTC
Created attachment 34990 [details]
Open JSP file if editor opened subsequent - history
Comment 7 Miloslav Metelka 2006-12-06 10:56:28 UTC
The regression should be eliminated by the restored caching of the syntaxes in
BaseDocument.java 1.134. The caching was removed as part of finding a fix of
issue 85000 but later it was found that it was not causing the 85000 and it was
later restored back as before.
Comment 8 Miloslav Metelka 2006-12-06 10:58:22 UTC
*** Issue 86644 has been marked as a duplicate of this issue. ***
Comment 9 Oleg Khokhlov 2007-08-31 14:14:41 UTC
Opening java files is ok now and for opening jsp files there is another bug - 45934.
build 200708270000. 
verified.