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

Summary: CodeCompletion took 2033 ms.
Product: web Reporter: KhArtNJava
Component: CSS EditorAssignee: Milutin Kristofic <mkristofic>
Status: NEW ---    
Severity: normal CC: aberdyugin, KhArtNJava, Petah
Priority: P4 Keywords: PERFORMANCE
Version: 7.4   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 203368
Attachments: nps snapshot

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.