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 246288 - CodeCompletion took 4451 ms.
Summary: CodeCompletion took 4451 ms.
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Petr Pisl
Depends on:
Reported: 2014-08-05 22:50 UTC by cwt137
Modified: 2015-12-09 07:55 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 211116

nps snapshot (33.65 KB, application/nps)
2014-08-05 22:50 UTC, cwt137

Note You need to log in before you can comment on or make changes to this bug.
Description cwt137 2014-08-05 22:50:05 UTC
This bug was originally marked as duplicate of bug 244678, 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 2014-07-23_15-03-45)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.7-b01, Java(TM) SE Runtime Environment, 1.7.0_17-b02
OS: Windows 7

User Comments:
cwt137: autocomplete in PHP real slow. Never showed suggested list

Maximum slowness yet reported was 4451 ms, average is 4451
Comment 1 cwt137 2014-08-05 22:50:07 UTC
Created attachment 148570 [details]
nps snapshot
Comment 2 Jaroslav Havlin 2014-08-08 08:23:07 UTC
The completion was slow because the disk access was slow.
(PhpElementIpml.isPlatform() -> ... -> FileUtil.normalizeFile() /
Probably the hard drive was under heavy load (e.g. due to running Windows Defragmentation Analysis).

Reassigning to php/Editor in case it can be fixed/optimized there. Please evaluate it. Thank you.
Comment 3 Ondrej Brejla 2014-08-11 09:06:17 UTC
It can't be faster, sorry.
Comment 4 Ondrej Brejla 2014-09-03 11:15:14 UTC
Only the last report is JS related. First two are still wontfix.
Comment 5 cwt137 2015-12-01 17:47:45 UTC
I have an SSD. So disk access should not be an issue