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 37194 - It's impossible measure startup time
Summary: It's impossible measure startup time
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: All All
: P2 blocker (vote)
Assignee: Petr Nejedly
URL:
Keywords: PERFORMANCE, T9Y
Depends on:
Blocks:
 
Reported: 2003-11-13 11:02 UTC by Marian Mirilovic
Modified: 2008-12-22 20:50 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
java.lang.Error: StartLog mismatch: ending 'TopManager initialization (org.netbeans.core.NonGui.r java.lang.Error: StartLog mismatch: ending 'TopManager initialization (org.netbeans.core.NonGui.run())' but expecting 'Main window initialization'; (2.78 KB, text/plain)
2003-11-13 11:02 UTC, Marian Mirilovic
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marian Mirilovic 2003-11-13 11:02:03 UTC
Startup time measuring fails (see attached stack
trace)
Comment 1 Marian Mirilovic 2003-11-13 11:02:53 UTC
Created attachment 12140 [details]
java.lang.Error: StartLog mismatch: ending 'TopManager initialization (org.netbeans.core.NonGui.r
java.lang.Error: StartLog mismatch: ending 'TopManager initialization (org.netbeans.core.NonGui.run())' but expecting 'Main window initialization';
Comment 2 _ rkubacki 2003-11-14 13:51:17 UTC
http://core.netbeans.org/source/browse/core/src/org/netbeans/core/Main.java.diff?r1=1.175&r2=1.176
I modified logging to call logStart and logEnd from the same thread.
Also the startup time is measured from AWT when winsys init is
completed now instead of the end of o.n.c.Main.start() that finishes
earlier. Not the best fix but should run now.
Comment 3 Marian Mirilovic 2003-11-25 17:44:17 UTC
Radim thanks, verified.