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 229138 - org.netbeans.modules.parsing.spi.indexing.support.IndexResult.getFile: LowPerformance took 33017 ms.
Summary: org.netbeans.modules.parsing.spi.indexing.support.IndexResult.getFile: LowPer...
Status: RESOLVED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Petr Hejl
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2013-04-29 07:13 UTC by Exceptions Reporter
Modified: 2013-07-25 13:49 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 195738


Attachments
nps snapshot (166.33 KB, application/nps)
2013-04-29 07:13 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2013-04-29 07:13:38 UTC
Build: NetBeans IDE 7.3 (Build 201302132200)
VM: Java HotSpot(TM) 64-Bit Server VM, 20.45-b01-451, Java(TM) SE Runtime Environment, 1.6.0_45-b06-451-11M4406
OS: Mac OS X

User Comments:
GUEST: Backspacing and replacing a character

GUEST: Attempting to add a method call inside a Backbone collection function (that.sync() after defining var that = this).  Got as far as "that." then locked up.



Maximum slowness yet reported was 33017 ms, average is 14111
Comment 1 Exceptions Reporter 2013-04-29 07:13:41 UTC
Created attachment 133909 [details]
nps snapshot
Comment 2 Tomas Zezula 2013-04-29 15:05:08 UTC
The javascript code completion calls IndexResult.getFile() from EDT which in turn converts the URL to FileObject which leads to IO (construction of the  FileObject).
Comment 3 Petr Hejl 2013-07-25 13:49:27 UTC
The first report has been fixed by Petr Pisl in 6bbce3fdafdb. The other two reports are duplicates of #227296.