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 90542 - Significant regression (~25%)on startup on all machines 200611281900-200611221900
Summary: Significant regression (~25%)on startup on all machines 200611281900-20061122...
Status: CLOSED FIXED
Alias: None
Product: ide
Classification: Unclassified
Component: Performance (show other bugs)
Version: 3.x
Hardware: All All
: P1 blocker (vote)
Assignee: _ rkubacki
URL:
Keywords: T9Y
Depends on:
Blocks:
 
Reported: 2006-12-04 20:58 UTC by Marian Mirilovic
Modified: 2011-05-25 11:37 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
paint events after main window opening (4.51 KB, text/plain)
2006-12-04 21:16 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-12-04 20:58:17 UTC
We are measuring significant regression on startup between builds :
200611281900-200611221900
on all platforms and both JDKS (1.5.0_09 vs. 6.0-b104)

Startup Time
1st usage 	24 % 	29 % 	16 % 	31 % 	28 % 	28 %
Subs. usage 	30 % 	35 % 	20 % 	37 % 	34 % 	36 %
Comment 1 Marian Mirilovic 2006-12-04 21:15:36 UTC
Well, I found out the reason, it's because the status line is repainted every
100ms (see attachment).

I understand that showing text "Opening Main Window ..." and slow disappearing
is really nice and probably very important, the only one thing I don't
understand is why do we need to repaint the whole status line ? 

BTW: I can filter paint events from status line I guess - this will solve "the
regression" issue, but I would also like to know the answer of previous question
regarding repainting the whole Status line couple of times after opening the
main window.
Comment 2 Marian Mirilovic 2006-12-04 21:16:46 UTC
Created attachment 36463 [details]
paint events after main window opening
Comment 3 _ rkubacki 2006-12-07 13:08:12 UTC
StatusLine is subclass of JLabel so it is fine that this component gats repainted.

OK, either pass -J-Dorg.openide.awt.StatusDisplayer.DISPLAY_TIME=0 to tests or I
can udate it to turn this effect off if netbeans.full.hack=true. What do you prefer?
Comment 4 Marian Mirilovic 2006-12-07 14:05:18 UTC
Checking in unit/src/startup/MeasureIDEStartupTime.java;
/cvs/performance/test/unit/src/startup/MeasureIDEStartupTime.java,v  <-- 
MeasureIDEStartupTime.java
new revision: 1.23; previous revision: 1.22
done
Comment 5 Marian Mirilovic 2006-12-15 08:16:12 UTC
v/c