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 271226

Summary: org.netbeans.modules.editor.indent.IndentImpl.reformatLock: LowPerformance took 28198 ms.
Product: php Reporter: Exceptions Reporter <exceptions_reporter>
Component: EditorAssignee: issues@php <issues>
Status: NEW ---    
Severity: normal Keywords: PERFORMANCE
Priority: P3    
Version: 8.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 229915
Attachments: nps snapshot

Description Exceptions Reporter 2017-08-03 08:26:13 UTC
This bug was originally marked as duplicate of bug 241440, 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.2 (Build 201609300101)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.121-b13, Java(TM) SE Runtime Environment, 1.8.0_121-b13
OS: Windows 10

User Comments:
GUEST: Autocomplete is very slow while working on a project with Magento 2 in the 'includes' path.

This particular problem occured when trying to expand a PHP abbreviation.



Maximum slowness yet reported was 28198 ms, average is 28198
Comment 1 Exceptions Reporter 2017-08-03 08:26:16 UTC
Created attachment 164892 [details]
nps snapshot
Comment 2 Dusan Balek 2017-08-04 10:35:42 UTC
As can be seen from the attached profiler snapshot, code completion waits for an extremely slow PHPCodeCompletion.complete(). Reassigning.