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 232467 - org.netbeans.modules.parsing.lucene.LuceneIndex.query: LowPerformance took 21618 ms.
Summary: org.netbeans.modules.parsing.lucene.LuceneIndex.query: LowPerformance took 21...
Status: NEW
Alias: None
Product: javascript
Classification: Unclassified
Component: Navigation (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords: PERFORMANCE
: 232517 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-07-09 20:33 UTC by Exceptions Reporter
Modified: 2016-11-13 17:34 UTC (History)
23 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 202011


Attachments
nps snapshot (187.82 KB, application/nps)
2013-07-09 20:33 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-07-09 20:33:35 UTC
Build: NetBeans IDE 7.3.1 (Build 201306052037)
VM: Java HotSpot(TM) 64-Bit Server VM, 20.51-b01-457, Java(TM) SE Runtime Environment, 1.6.0_51-b11-457-11M4509
OS: Mac OS X

User Comments:
GUEST: Can't edit my .tpl without a long pause!!!

GUEST: Opened a .tpl file and it took forever to edit it! This is a huge problem if this continues to occur in 7.3.1 ... I upgraded to 7.3.1 because 7.3 would do this constantly and would make editing php template (.tpl) files impossible.



Maximum slowness yet reported was 24623 ms, average is 23120
Comment 1 Exceptions Reporter 2013-07-09 20:33:38 UTC
Created attachment 136899 [details]
nps snapshot
Comment 2 Tomas Zezula 2013-07-10 08:06:43 UTC
csl ElementNode vs JSSimpleStructureItem.
Queries should not be done from EDT, either generic fix in ElementNode or JS specific fix in JSSimpleStructureItem.
Comment 3 Tomas Zezula 2013-07-10 14:11:32 UTC
*** Bug 232517 has been marked as a duplicate of this bug. ***
Comment 4 Svata Dedic 2013-07-15 14:39:44 UTC
Please pre-resolve the types during StructureScanner run. It is OK to format information in getHtml(), but the method is likely to be called from EDT and should not take long to complete.