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 104057 - First opening of Visual Web page takes long time
Summary: First opening of Visual Web page takes long time
Status: VERIFIED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: _ sandipchitale
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2007-05-16 11:30 UTC by Maksim Khramov
Modified: 2007-07-10 12:01 UTC (History)
4 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 Maksim Khramov 2007-05-16 11:30:08 UTC
On my machine (P4 2 GB ram) first attempt of open Visual Web project page takes
too long time:
For a small project (1- 5 pages) it takes about 20 - 30 seconds. It exceeds our
performance boundaries.
For a large project (100 pages) its takes about 8 minutes.

At this moment IDE is not hungs as previously during this process ( because of
fixed issue #101604) but user can't work in it efficiently.
Comment 1 Marian Mirilovic 2007-05-16 12:29:41 UTC
For a small project & simple page look at results from automated tests :
http://xtest-db.czech.sun.com/AllInOnePerformanceDashboard/atomicResult.jsp?project=nb_bigide_Dev&resultName=Open%20Small%20Project%20First%20Page

For a complex project and a little bit complicated page - we turned this off few
weeks ago and turned it on recently.

This issue has also impact on the startup of the IDE with Web project & opened
JSP page - it's also taking unacceptable time.
Comment 2 _ sandipchitale 2007-06-07 03:31:16 UTC
We are working on the performance issues in a tiger team:

See:

http://wiki.netbeans.org/wiki/view/VW_PerformanceTigerTeam
Comment 3 _ sandipchitale 2007-06-12 17:07:39 UTC
Some performance improvements have been put in to improve opening of the first page when the project has large number 
of pages. Can we get a measurement using the latest bits?
Comment 4 Winston Prakash 2007-06-12 18:52:02 UTC
Do you still see the same problem with the latest bit?
After our fixes, now the first page of large project 
opens with in seconds.

See the results I put in the performance page. I tested with 128 page project.
http://wiki.netbeans.org/wiki/view/VW_PerformanceTigerTeam
Comment 5 _ sandipchitale 2007-06-14 18:04:17 UTC
The performance team has done some work to improve the performance in this area. Further work will be done after M10. 
Marking this for beta1.
Comment 6 _ sandipchitale 2007-06-19 00:38:06 UTC
Asking for waiver for M10.
Comment 7 _ sandipchitale 2007-06-21 16:28:17 UTC
Removing the keyword 6.0_WAIVER_REQUEST as I was intending to ask for waiver for M10 when I put the keyword. However 
this issue is not a M10 stopper and therefore does not require an M10 waiver request (as I learned).

We will be working on performance some more after M10.
Comment 8 Maksim Khramov 2007-07-04 11:55:52 UTC
New results on my current build (070703):

Large project (100 pages):  about 10 seconds - first page open after IDE started. Subsequent attempts - less than 2
seconds. ( Close project, open it again and open first page. )
Small project gives the same numbers.
Comment 9 Petr Blaha 2007-07-04 12:01:11 UTC
It seems that we can mark the bug as verified, right? There is improvement for large projects from 8 minutes to 10 secs.
Comment 10 Oleg Khokhlov 2007-07-04 13:05:27 UTC
According to performance boundaries - "EXPECTED RESULT: Page1 should be opened in 1 second."
Therefore, although improvement is great, 10 sec is still not enough for closing this bug.
Comment 11 _ sandipchitale 2007-07-09 22:25:15 UTC
Based on the recent measurements and the performance guideline:

*10 seconds* - all actions which are finished later than after 1 second and usually take less than 10 seconds must 
show some sort of busy indication (e.g. hour glass cursor or "please wait..." text); all actions taking longer than 
this limit are required to provide progress bar using Progress APIs 

I am marking this bug as fixed as we do show the "Loading, Please wait" message.
Comment 12 Maksim Khramov 2007-07-10 12:01:29 UTC
Virified in build 200707090000