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 204388 - Profiling Points Performance Problems
Summary: Profiling Points Performance Problems
Status: VERIFIED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Ide (show other bugs)
Version: 7.1
Hardware: All All
: P2 normal (vote)
Assignee: Jiri Sedlacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-29 09:47 UTC by Jiri Sedlacek
Modified: 2011-11-18 12:47 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 Jiri Sedlacek 2011-10-29 09:47:02 UTC
Profiling points implementation has several performance problems, which causes the code to be extremely slow in some cases (working with symlinks/network paths).

Some of the problems found so far:

 - saving dirty profiling points in EDT on IDE shutdown
 - ineffective resolving of project location in loops
 - ineffective resolving of profiling points storage in loops
 - ineffective algorithm of loading profiling points from storage
 - saving profiling points immediately after loading them
Comment 1 Jiri Sedlacek 2011-10-30 13:41:02 UTC
Addressed the described problems. The affected code now runs ~10x faster.

Fixed by http://hg.netbeans.org/profiler-main/rev/e23c9f0ac3b1.
Comment 2 Quality Engineering 2011-11-01 15:12:23 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/e23c9f0ac3b1
User: Jiri Sedlacek <jis@netbeans.org>
Log: Bugfix #204388 - Profiling Points performance improvements
Comment 3 Petr Cyhelsky 2011-11-18 12:47:08 UTC
verified, profiling points seem faster in samba shared sources