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 214447 - CodeCompletion took 14393 ms.
Summary: CodeCompletion took 14393 ms.
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: Milos Kleint
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2012-06-19 12:41 UTC by gerzhedowich
Modified: 2012-09-06 13:48 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 189730


Attachments
nps snapshot (369.01 KB, application/nps)
2012-06-19 12:41 UTC, gerzhedowich
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gerzhedowich 2012-06-19 12:41:44 UTC
This bug was originally marked as duplicate of bug 199476, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build 201205090400)
VM: Java HotSpot(TM) 64-Bit Server VM, 22.0-b10, Java(TM) SE Runtime Environment, 1.7.0_02-b13
OS: Windows 7
Maximum slowness yet reported was 14393 ms, average is 14393
Comment 1 gerzhedowich 2012-06-19 12:41:57 UTC
Created attachment 121052 [details]
nps snapshot
Comment 2 Milos Kleint 2012-09-06 13:48:53 UTC
the code completion thread is waiting on another thread in which m2ConfigProvider reads maven model lineage to get a list of all profiles in the project.

The code in question is no longer executed. We retrieve and cache the list of profiles during MavenProject construction and as such getting the profiles is almost instant.

marking as fixed in 7.3