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 239532 - PHP lexer may slow down formatting
Summary: PHP lexer may slow down formatting
Status: RESOLVED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Ondrej Brejla
URL:
Keywords: PERFORMANCE
Depends on:
Blocks: 237064
  Show dependency tree
 
Reported: 2013-12-16 15:31 UTC by Exceptions Reporter
Modified: 2013-12-16 16:37 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 206054


Attachments
nps snapshot (349.00 KB, application/nps)
2013-12-16 15:31 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2013-12-16 15:31:22 UTC
This issue was reported manually by sdedic.
It already has 1 duplicates 


Build: NetBeans IDE 7.3.1 (Build 201306052037)
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: editing 2000lines of php



Maximum slowness yet reported was 31696 ms, average is 31696
Comment 1 Exceptions Reporter 2013-12-16 15:31:26 UTC
Created attachment 143223 [details]
nps snapshot
Comment 2 Svata Dedic 2013-12-16 15:32:42 UTC
Please evaluate the reported profile data; the PHP lexer seems to be causing some slowdown in the reformat operation. Thanks.
Comment 3 Ondrej Brejla 2013-12-16 16:37:23 UTC
I improved lexer for 8.0, so closing as fixed and we will see. Thanks.