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 225299 - Detect C/C++ specific performance problem
Summary: Detect C/C++ specific performance problem
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Project (show other bugs)
Version: 7.3
Hardware: All All
: P2 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-24 17:06 UTC by Alexander Simon
Modified: 2013-03-20 11:30 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Simon 2013-01-24 17:06:43 UTC
Real user projects have a different performance problem related to project size and file system performance.
IDE should help user to detect root cause of performance problem and probably fix it.

Some of the problems are described in the article:
http://www.oracle.com/technetwork/articles/servers-storage-dev/studio-ide-tips-1668027.html

So please implement some hints about "low IDE performance".
Comment 1 Alexander Simon 2013-01-24 17:13:34 UTC
- Introduce performance logger,
- Add performance probes in the important places (create project item, read file, parse file)
- Define rules to detect problems
- Implement notification UI
in change set:
http://hg.netbeans.org/cnd-main/rev/e15885a18bb6

Note: engine currently disabled.
Comment 2 Quality Engineering 2013-01-25 03:02:37 UTC
Integrated into 'main-golden', will be available in build *201301250001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/e15885a18bb6
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixing Bug #225299 Detect C/C++ specific performance problem
Comment 3 Quality Engineering 2013-01-26 03:03:55 UTC
Integrated into 'main-golden', will be available in build *201301260001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/cca5f2922381
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixing Bug #225299 Detect C/C++ specific performance problem
- remove unneeded threads
- refine "start" project activity place
- check possible exceptions related with JVM implementation
Comment 4 Quality Engineering 2013-01-31 03:13:33 UTC
Integrated into 'main-golden', will be available in build *201301310001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/d9a9a3256965
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixing Bug #225299 Detect C/C++ specific performance problem
- support timeout of performance event
Comment 5 Alexander Simon 2013-01-31 11:48:03 UTC
Profiling show that performance logger consumes about 1% of wall time on opening and parsing Mozilla browser project on Solaris x86, JDK 7, 4 parser threads.
Time distribution:
get wall time 84%
get memory    12%
other          4%
Comment 6 Quality Engineering 2013-02-01 03:05:38 UTC
Integrated into 'main-golden', will be available in build *201302010001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/9e923d1f43a3
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixing Bug #225299 Detect C/C++ specific performance problem
- fix advice
Comment 7 Quality Engineering 2013-02-02 02:35:16 UTC
Integrated into 'main-golden', will be available in build *201302020001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/d7afc3ee9ef6
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixing Bug #225299 Detect C/C++ specific performance problem
- add infinite parsing notification
Comment 8 Quality Engineering 2013-02-05 12:37:19 UTC
Integrated into 'main-golden', will be available in build *201302050917* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/53c51a2015a9
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixing Bug #225299 Detect C/C++ specific performance problem
- fix NPE
Comment 9 Quality Engineering 2013-02-07 03:07:57 UTC
Integrated into 'main-golden', will be available in build *201302070001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/ee45be54119d
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixing Bug #225299 Detect C/C++ specific performance problem
- log file IO in CndFileUtils (used to resolve include paths)
Comment 10 Quality Engineering 2013-02-08 01:41:56 UTC
Integrated into 'main-golden', will be available in build *201302072300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/90bcde76edd9
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixing Bug #225299 Detect C/C++ specific performance problem
- implement post parsing analyzer
Comment 11 Quality Engineering 2013-02-13 01:53:23 UTC
Integrated into 'main-golden', will be available in build *201302122300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/6327181dfde5
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixing Bug #225299 Detect C/C++ specific performance problem
- fix messages (remove advice)
- do not analyze remote and full remote projects
- do not analyze several projects
Comment 12 Quality Engineering 2013-02-20 05:27:49 UTC
Integrated into 'main-golden', will be available in build *201302192300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/26a2099bcc9a
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixing Bug #225299 Detect C/C++ specific performance problem
- fix messages
Comment 13 Quality Engineering 2013-02-23 04:14:16 UTC
Integrated into 'main-golden', will be available in build *201302222300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/8cadbe5bc22c
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixing Bug #225299 Detect C/C++ specific performance problem
- add test action that shows parsing telemetry
Comment 14 Quality Engineering 2013-02-26 05:24:19 UTC
Integrated into 'main-golden', will be available in build *201302252300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/eb0f70b4ba3d
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixing Bug #225299 Detect C/C++ specific performance problem
- show item creation timeout
Comment 15 Quality Engineering 2013-02-27 16:13:03 UTC
Integrated into 'main-golden', will be available in build *201302270948* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/11e1f8e375c8
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixing Bug #225299 Detect C/C++ specific performance problem
- fix messages
Comment 16 Quality Engineering 2013-02-28 02:06:53 UTC
Integrated into 'main-golden', will be available in build *201302272300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/367fc667a3de
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixing Bug #225299 Detect C/C++ specific performance problem
- smoothly cancel project creation if user closes unfinished project