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 240750

Summary: org.netbeans.modules.editor.indent.IndentImpl.reformatLock: LowPerformance took 62705 ms.
Product: javascript Reporter: 108adams
Component: EditorAssignee: Petr Pisl <ppisl>
Status: RESOLVED WORKSFORME    
Severity: normal CC: aberdyugin, exceptions_reporter
Priority: P3 Keywords: PERFORMANCE
Version: 7.4   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 206793
Attachments: nps snapshot

Description 108adams 2014-01-21 10:49:06 UTC
This issue was reported manually by obrejla.
It already has 1 duplicates 


Build: NetBeans IDE 7.4 (Build 201310111528)
VM: OpenJDK Client VM, 23.7-b01, OpenJDK Runtime Environment, 1.7.0_25-b30
OS: Linux

User Comments:
108adams: Pasting JS code into HTML code (inside <script> tag) as "paste formatted" (Alt-Shift-V)



Maximum slowness yet reported was 62705 ms, average is 62705
Comment 1 108adams 2014-01-21 10:49:12 UTC
Created attachment 144186 [details]
nps snapshot
Comment 2 Petr Pisl 2014-01-29 08:56:19 UTC
*** Bug 240746 has been marked as a duplicate of this bug. ***
Comment 3 Petr Pisl 2014-01-29 08:57:06 UTC
*** Bug 240748 has been marked as a duplicate of this bug. ***
Comment 4 Petr Hejl 2014-07-03 13:07:48 UTC
All the snapshots I have seen in this issue ends at Javascript model and lucene. Formatting and indentation does not seem to be involved.
Comment 5 Roman Svitanic 2015-07-16 12:58:14 UTC
This seems to be fixed in the NetBeans 8.0 and newer. All reports are from 8.0 Beta and earlier.