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

Summary: org.netbeans.modules.parsing.lucene.LuceneIndex.query: LowPerformance took 21618 ms.
Product: javascript Reporter: Exceptions Reporter <exceptions_reporter>
Component: NavigationAssignee: Petr Pisl <ppisl>
Status: NEW ---    
Severity: normal CC: alegorn, alied, allanNB, bakape, bento, brettryan, jeverden, josef.sabl, jpujari, jtulach, jwh, kaushalkumarshah, MackSix, NwDx, roo, sdedic, ShivarajRH, StitchUA, szmitek, terje7601, tomzi, vercinstex, Zuelius
Priority: P3 Keywords: PERFORMANCE
Version: 7.3   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 202011
Attachments: nps snapshot

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.