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 - Exponential parsing progress bar.
Summary: Exponential parsing progress bar.
Status: CLOSED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: PC Linux
: P4 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-11 12:04 UTC by ehucka
Modified: 2007-09-26 09:14 UTC (History)
0 users

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 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