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 235100 - CodeCompletion took 2033 ms.
Summary: CodeCompletion took 2033 ms.
Status: NEW
Alias: None
Product: web
Classification: Unclassified
Component: CSS Editor (show other bugs)
Version: 7.4
Hardware: All All
: P4 normal (vote)
Assignee: Milutin Kristofic
Depends on:
Reported: 2013-08-27 12:55 UTC by KhArtNJava
Modified: 2014-10-06 13:26 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 203368

nps snapshot (31.77 KB, application/nps)
2013-08-27 12:55 UTC, KhArtNJava

Note You need to log in before you can comment on or make changes to this bug.
Description KhArtNJava 2013-08-27 12:55:32 UTC
This bug was originally marked as duplicate of bug 234108, 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 201308270001)
VM: Java HotSpot(TM) Client VM, 23.25-b01, Java(TM) SE Runtime Environment, 1.7.0_25-b17
OS: Windows Server 2008

User Comments:
KhArtNJava: <??????? ???????? ???????? ??? ???? ??? ???????????????>dfdfssdfdsfdfs

Maximum slowness yet reported was 2033 ms, average is 2033
Comment 1 KhArtNJava 2013-08-27 12:55:35 UTC
Created attachment 139313 [details]
nps snapshot
Comment 2 Tomas Zezula 2013-08-29 15:59:02 UTC
The CssIndex.findByPrefix() calls lots of IR.getFile() which in turn needs to resolve URL to FileObject which is slower compared to using URL (URI).
Not sure if all the FileObjects are needed or can be replaced by URL.