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 239528 - TextLexerInputOperation may be slow
Summary: TextLexerInputOperation may be slow
Status: RESOLVED WONTFIX
Alias: None
Product: editor
Classification: Unclassified
Component: Lexer (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords: PERFORMANCE
Depends on:
Blocks: 237064
  Show dependency tree
 
Reported: 2013-12-16 15:19 UTC by Exceptions Reporter
Modified: 2016-07-07 07:30 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 206050


Attachments
nps snapshot (133.83 KB, application/nps)
2013-12-16 15:19 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:19:21 UTC
This issue was reported manually by sdedic.
It already has 4 duplicates 


Build: NetBeans IDE 7.3 (Build 201306052037)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.7-b01, Java(TM) SE Runtime Environment, 1.7.0_17-b02
OS: Windows 7

User Comments:
GUEST: Long Php File hangs on Source->Format menuitem

GUEST: IN html file, I press shift+alt+f to format de code. Length of file 107 lines

GUEST: when format a page then.......

GUEST: Load  html file (228kb). Press Shift+Alt+F (formating)



Maximum slowness yet reported was 115422 ms, average is 53276
Comment 1 Exceptions Reporter 2013-12-16 15:19:25 UTC
Created attachment 143219 [details]
nps snapshot
Comment 2 Svata Dedic 2013-12-16 15:25:02 UTC
Please evaluate the slowness reports; they show rather slow TextLexerInputOperation - or possibly the invoked lexers ? Anyway the lexing blocks other threads from reading the document causing perceived slowness/unresponsiveness of the IDE.

Forked from the original issue #237064
Comment 3 Martin Balin 2016-07-07 07:30:30 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss