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 232190

Summary: org.netbeans.modules.php.editor.indent.FormatVisitor.addFormatToken: LowPerformance took 22309 ms.
Product: php Reporter: Exceptions Reporter <exceptions_reporter>
Component: EditorAssignee: Ondrej Brejla <obrejla>
Status: RESOLVED INCOMPLETE    
Severity: normal Keywords: PERFORMANCE
Priority: P3    
Version: 7.3   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 171701
Attachments: nps snapshot

Description Exceptions Reporter 2013-07-03 08:45:22 UTC
Build: NetBeans IDE 7.3.1 (Build 201306052037)
VM: OpenJDK 64-Bit Server VM, 23.7-b01, OpenJDK Runtime Environment, 1.7.0_21-b02
OS: Linux

User Comments:
GUEST: Expanding a macro with ctrl-space. Macro had a var reference.

GUEST: Waiting for code completion on a class



Maximum slowness yet reported was 26566 ms, average is 18090
Comment 1 Exceptions Reporter 2013-07-03 08:45:26 UTC
Created attachment 136641 [details]
nps snapshot
Comment 2 Ondrej Brejla 2013-07-03 09:02:15 UTC
Program.accept() seems to be a bit slow, but really don't know why. Probably it's a big file with a lot of nested blocks (nodes). We have just one report from 7.3.1, so waiting for another one for further evaluation.