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 223507 - 66s - versioning.core.VersioningAnnotationProvider$AbstractVersioningSystemActions.createContextAwareInstance()
Summary: 66s - versioning.core.VersioningAnnotationProvider$AbstractVersioningSystemAc...
Status: RESOLVED FIXED
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords: PERFORMANCE
: 218909 222227 222573 226853 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-12-07 23:11 UTC by Exceptions Reporter
Modified: 2013-05-15 17:17 UTC (History)
7 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 196276


Attachments
nps snapshot (557.13 KB, application/nps)
2012-12-07 23:11 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2012-12-07 23:11:29 UTC
This bug was originally marked as duplicate of bug 183606, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 7.3 Beta (Build 201210011125)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.5-b02, Java(TM) SE Runtime Environment, 1.7.0_09-b05
OS: Windows 7

User Comments:
GUEST: Editiing C++ project imported from Makefile based Linux/GC



Maximum slowness yet reported was 66582 ms, average is 66582
Comment 1 Exceptions Reporter 2012-12-07 23:11:37 UTC
Created attachment 129071 [details]
nps snapshot
Comment 2 Jaroslav Tulach 2012-12-19 13:43:21 UTC
*** Bug 222227 has been marked as a duplicate of this bug. ***
Comment 3 Jaroslav Tulach 2013-01-23 16:08:30 UTC
One call to 
org.netbeans.modules.versioning.core.VersioningAnnotationProvider$AbstractVersioningSystemActions.createContextAwareInstance()	97.217415	64,608 ms (97.2%)	63,449 ms	1
yields 433 disk touches via 
org.netbeans.api.queries.SharabilityQuery.getSharability()	60.763695	40,381 ms (60.8%)	39,581 ms	433
Comment 4 Ondrej Vrabec 2013-01-24 15:48:39 UTC
*** Bug 222573 has been marked as a duplicate of this bug. ***
Comment 5 Ondrej Vrabec 2013-01-24 15:49:54 UTC
fix: http://hg.netbeans.org/core-main/rev/6b6f7696d6e2
Comment 6 Ondrej Vrabec 2013-01-24 15:51:21 UTC
fix: http://hg.netbeans.org/core-main/rev/e1e0852e4805
Comment 7 Quality Engineering 2013-01-25 03:03:03 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/c2ac5f37dfd0
User: Ondrej Vrabec <ovrabec@netbeans.org>
Log: #223507 - 66s - versioning.core.VersioningAnnotationProvider$AbstractVersioningSystemActions.createContextAwareInstance()
partial fix, constructing a VCS context when it's really needed
Comment 8 Quality Engineering 2013-01-26 03:04:37 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/c8f6667b2dc8
User: Ondrej Vrabec <ovrabec@netbeans.org>
Log: Moving another menu initialization that might cause a slowness described in #223507 to background
Comment 9 Ondrej Vrabec 2013-01-28 13:33:59 UTC
*** Bug 218909 has been marked as a duplicate of this bug. ***
Comment 10 Ondrej Vrabec 2013-05-15 17:17:33 UTC
*** Bug 226853 has been marked as a duplicate of this bug. ***