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 44754

Summary: Exponential parsing progress bar.
Product: java Reporter: ehucka <ehucka>
Component: UnsupportedAssignee: issues@java <issues>
Status: CLOSED WONTFIX    
Severity: blocker    
Priority: P4    
Version: 4.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description ehucka 2004-06-11 12:04:58 UTC
When the JDK's and projects' classes are reparsed
a displayed progress bar spends most time in its
first few percents (about 20).

I think linear dependencies are better for a man.
Comment 1 Pavel Flaska 2004-06-11 12:15:23 UTC
It is not intentionally exponential. Progress bar is based on
classpath roots count. So if you have root with a lot of classes, its
scanning takes more time, but on progress bar, every classpath root
takes the same portion.
Comment 2 ehucka 2004-06-11 12:28:29 UTC
It would be better if each class(source file) takes the same portion.
A user cannot estimate whole time of parsing. Then, there can be only
hourglass.
Comment 3 Pavel Flaska 2004-06-11 12:38:34 UTC
It is impossible without huge performance impact. You have to count
the number of scanned files before you start. It is many I/O
operation. (in WinOS they improve their time estimates throughout the
copy operation too.) I do not think this is a big problem. If you do
not think so, reopen it.
Comment 4 ehucka 2006-03-22 10:46:02 UTC
verified
Comment 5 Quality Engineering 2007-09-20 10:12:06 UTC
Reorganization of java component