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 258066 - More than 5s Codecompletion for simple code completions
Summary: More than 5s Codecompletion for simple code completions
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 8.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-19 15:33 UTC by markiewb
Modified: 2016-11-09 14:22 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Shows the issue - screenshot (177.85 KB, image/png)
2016-02-19 15:33 UTC, markiewb
Details
Selfsampler snapshot (56.28 KB, application/octet-stream)
2016-02-19 15:34 UTC, markiewb
Details
Another sampling (356.69 KB, application/octet-stream)
2016-03-03 10:16 UTC, markiewb
Details

Note You need to log in before you can comment on or make changes to this bug.
Description markiewb 2016-02-19 15:33:12 UTC
Created attachment 158571 [details]
Shows the issue - screenshot

I have a project with many dependencies. When I call code completion on

public class Foo{
   public Set<IMasterData> allMDOs=new HashSet| //CC at |
}

then it takes 5s to present a tiny list of CC. 

I provide you a sampling snapshot and a screenshot, which shows that the time is spend in org.apache.lucene.search.BooleanScorer$BucketTable.
Comment 1 markiewb 2016-02-19 15:34:30 UTC
Created attachment 158572 [details]
Selfsampler snapshot
Comment 2 markiewb 2016-03-03 10:16:31 UTC
Created attachment 158724 [details]
Another sampling
Comment 3 Svata Dedic 2016-11-09 14:22:58 UTC
The self-sampler shows that the time is spent inside Lucene index search; the second sample shows a lot of time is spent in WinNTFileSystem.list - which could indicate some FS slowness also affecting Lucene performance.

Tomasi, could you advise ?