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 40223 - Opening editor for properties, text and XML files takes longer than in NB351
Summary: Opening editor for properties, text and XML files takes longer than in NB351
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: issues@editor
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2004-02-18 13:52 UTC by Antonin Nebuzelsky
Modified: 2007-11-05 13:44 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Antonin Nebuzelsky 2004-02-18 13:52:39 UTC
Automatic performance tests consistently show a
regression in the times for opening editor for
properties, TXT and XML files on Windows XP.
(Linux and Solaris do *not* have a regression.)
The absolute numbers together with the percentage
of comparison to NB351:

Open Properties file (20kB) (1): 719 ms (+10.1%)
Open Properties file (20kB) (2): 438 ms (+26.9%)

Open Properties file (20kB) if Editor opened (1):
354 ms (+10.0%)
Open Properties file (20kB) if Editor opened (2):
312 ms (+16.6%)

Open Txt file (20kB) (1): 651 ms (+57.9%)
Open Txt file (20kB) (2): 545 ms (+60.7%)

Open Txt file (20kB) if Editor opened (1):
401 ms (+20.0%)
Open Txt file (20kB) if Editor opened (2):
422 ms (+30.0%)

Open Xml file (20kB) (1): 859 ms (+35.5%)
Open Xml file (20kB) (2): 580 ms (+57.8%)

Open Xml file (20kB) if Editor opened (1):
417 ms (+11.1%)
Open Xml file (20kB) if Editor opened (2):
460 ms (+28.9%)
Comment 1 Miloslav Metelka 2004-02-18 15:02:28 UTC
 I would like to ask the perf team to measure opening times after the
integration of the new windowing system prior to integration of the
code-folding enabled editor i.e. trunk builds from e.g. 2003/12/15. If
those builds would already show the regression then it would be fair
to reassign this issue to core/window-system so that they run the
Performance analyzer and do the complete analysis of the file opening.
I do not see any reason why the editor team should be responsible for
analyzing such complex thing as file opening where many components of
the IDE interact.

 I have no idea whether we will be able to improve the numbers
significantly especially if they are affected by the are line view
objects created. Setting target milestone to 3.6 but there is 
potential for waving of this issue.
Comment 2 Antonin Nebuzelsky 2004-02-18 19:22:01 UTC
Mila, I ran these tests on my machine (Windows 2000) with builds
20031215 and 20040217. Some of the numbers are strange (-60%, -57%,
0%) but the rest of the numbers show a certain level of regression
between these two builds. I ran the test suite twice on both builds
and the results were almost the same each time. Please, note that the
absolute values are not be comparable with the numbers above, just the
percentages are relevant...

[TEST NAME]: [value w/ 20040217] ([comparison to 20031215])

Open Properties file (20kB) (1): 828ms (+8%)
Open Properties file (20kB) (2): 302ms (+45%)

Open Properties file (20kB) if Editor opened (1): 328ms (-60%)
Open Properties file (20kB) if Editor opened (2): 281ms (+23%)

Open Txt file (20kB) (1): 750ms (-57%)
Open Txt file (20kB) (2): 473ms (+14%)

Open Txt file (20kB) if Editor opened (1): 438ms (+17%)
Open Txt file (20kB) if Editor opened (2): 406ms (+11%)

Open Xml file (20kB) (1): 1031ms (0%)
Open Xml file (20kB) (2):  468ms (+40%)

Open Xml file (20kB) if Editor opened (1): 438ms (+40%)
Open Xml file (20kB) if Editor opened (2): 422ms (+47%)
Comment 3 psuk 2004-03-01 14:37:12 UTC
Requesting Bug Waiver for 3.6

Justification
---------------------
The action is still in resposivness limit (<1s) for 20KB file,
measured on Pentium 700Mhz.
Comment 4 Jan Chalupa 2004-03-03 14:44:57 UTC
Waiver approved.
Comment 5 Martin Matula 2004-07-19 16:18:41 UTC
According to Marial Mirilovic, there is no regression in the latest
measurements.
Comment 6 Max Sauer 2005-07-14 12:54:34 UTC
Tondo, could you please verify this issue? Thanks.