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 241009 - org.netbeans.modules.parsing.impl.RunWhenScanFinishedSupport.runWhenScanFinished: LowPerformance took 273157 ms.
Summary: org.netbeans.modules.parsing.impl.RunWhenScanFinishedSupport.runWhenScanFinis...
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: CSL (API & infrastructure) (show other bugs)
Version: 7.4
Hardware: All All
: P2 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2014-01-27 13:37 UTC by Exceptions Reporter
Modified: 2015-06-27 07:15 UTC (History)
14 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 206997


Attachments
nps snapshot (2.24 MB, application/nps)
2014-01-27 13:37 UTC, Exceptions Reporter
Details
Proposed SPI (77.77 KB, patch)
2015-06-25 19:58 UTC, Tomas Zezula
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2014-01-27 13:37:24 UTC
This bug was originally marked as duplicate of bug 213998, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 7.4 (Build 201310111528)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.45-b08, Java(TM) SE Runtime Environment, 1.7.0_45-b18
OS: Windows 7

User Comments:
GUEST: I had opened 8 php files and 1 js file.
I have a macro recorded for inserting "console.log(${cursor})" in code whenever I type "c", "l" and space. Low performance took after I runned my macro



Maximum slowness yet reported was 273157 ms, average is 273157
Comment 1 Exceptions Reporter 2014-01-27 13:37:54 UTC
Created attachment 144407 [details]
nps snapshot
Comment 2 Tomas Zezula 2014-02-01 11:58:20 UTC
CSL GsfCodeTemplateProcessor calls PM.parseWhenScanFinished from EDT.
The parser lock is held by JavaScript structure scanner.
Comment 3 Tomas Zezula 2015-06-25 19:58:03 UTC
Created attachment 154399 [details]
Proposed SPI

An generic CSL SPI.
Comment 4 Tomas Zezula 2015-06-26 12:01:20 UTC
Fixed jet-main cb89b4407b38
Comment 5 Quality Engineering 2015-06-27 07:15:27 UTC
Integrated into 'main-silver', will be available in build *201506270401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/cb89b4407b38
User: Tomas Zezula <tzezula@netbeans.org>
Log: #241009:org.netbeans.modules.parsing.impl.RunWhenScanFinishedSupport.runWhenScanFinished: LowPerformance took 273157 ms