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 245279 - org.netbeans.modules.parsing.impl.RunWhenScanFinishedSupport.runWhenScanFinished: LowPerformance took 48116 ms.
Summary: org.netbeans.modules.parsing.impl.RunWhenScanFinishedSupport.runWhenScanFinis...
Status: RESOLVED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2014-06-27 08:45 UTC by Exceptions Reporter
Modified: 2016-06-17 01:51 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 210472


Attachments
nps snapshot (157.38 KB, application/nps)
2014-06-27 08:45 UTC, Exceptions Reporter
Details

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

Build: NetBeans IDE 8.0 (Build 201403101706)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.0-b56, Java(TM) SE Runtime Environment, 1.7.0_40-b43
OS: Windows 7

User Comments:
GUEST: autocomplete problem



Maximum slowness yet reported was 48116 ms, average is 48116
Comment 1 Exceptions Reporter 2014-06-27 08:45:49 UTC
Created attachment 147797 [details]
nps snapshot
Comment 2 Tomas Zezula 2015-07-29 09:38:56 UTC
GsfCodeTemplateProcessor calls parsing in EDT waiting on PHPCodeCompletion.complete().
It's hard to get the GsfCodeTemplateProcessor outside the EDT but the PhpCodeCompletion  should be cancelled. Please use new CSL CancelSupport introduced for JavaScript to detect the cancelled code completion and not compute non needed data.
Comment 3 Tomas Mysik 2016-06-16 07:39:01 UTC
(In reply to Tomas Zezula from comment #2)
> PhpCodeCompletion  should be cancelled. Please use new CSL CancelSupport
> introduced for JavaScript to detect the cancelled code completion and not
> compute non needed data.

Fixed now. Thanks for reporting.

http://hg.netbeans.org/web-main/rev/173244163348
Comment 4 Quality Engineering 2016-06-17 01:51:29 UTC
Integrated into 'main-silver', will be available in build *201606170002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/173244163348
User: Tomas Mysik <tmysik@netbeans.org>
Log: #245279 - org.netbeans.modules.parsing.impl.RunWhenScanFinishedSupport.runWhenScanFinished: LowPerformance took 48116 ms.