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 53045 - Very expensive ClassMemberComparator.compare()
Summary: Very expensive ClassMemberComparator.compare()
Status: RESOLVED DUPLICATE of bug 53047
Alias: None
Product: java
Classification: Unclassified
Component: Navigation (show other bugs)
Version: 4.x
Hardware: All All
: P2 blocker (vote)
Assignee: David Simonek
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2005-01-06 11:10 UTC by Antonin Nebuzelsky
Modified: 2005-08-12 13:13 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Profiler screenshot (101.78 KB, image/png)
2005-01-06 11:11 UTC, Antonin Nebuzelsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Antonin Nebuzelsky 2005-01-06 11:10:47 UTC
Profiler has shown that 49% of the navigator list
populating time has been spent in
java.util.Arrays.sort(). Expanding the sort()
method shows that ClassMemberComparator.compare()
is very expensive because it calls into MDR each time.
Comment 1 Antonin Nebuzelsky 2005-01-06 11:11:42 UTC
Created attachment 19514 [details]
Profiler screenshot
Comment 2 David Simonek 2005-01-06 11:45:40 UTC
duplicate :-) It seems that perf team is really agile :-)
(btw I'm duplicating this one, because Petr's bug includes deeper
explanation of what should be done to improve performance).

*** This issue has been marked as a duplicate of 53047 ***