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 232065 - org.netbeans.lib.lexer.LexerInputOperation.readExistingAtIndex: LowPerformance took 40816 ms.
Summary: org.netbeans.lib.lexer.LexerInputOperation.readExistingAtIndex: LowPerformanc...
Status: RESOLVED DUPLICATE of bug 150197
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:
 
Reported: 2013-07-01 09:21 UTC by Exceptions Reporter
Modified: 2013-09-02 08:50 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 185870


Attachments
nps snapshot (399.29 KB, application/nps)
2013-07-01 09:21 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-07-01 09:21:19 UTC
Build: NetBeans IDE 7.3.1 (Build 201306052037)
VM: Java HotSpot(TM) Client VM, 23.25-b01, Java(TM) SE Runtime Environment, 1.7.0_25-b17
OS: Windows XP

User Comments:
GUEST: WHY !!!

GUEST: Quand j'essaye d'organiser la structure de mon code 
Comment 1 Exceptions Reporter 2013-07-01 09:21:26 UTC
Created attachment 136529 [details]
nps snapshot
Comment 2 Miloslav Metelka 2013-09-02 08:50:21 UTC
It looks like there is a BaseKit.changeBlockIndent() but it looks to be only run over 7 lines so it's strange.
Btw the TwigTopLexer.findTag() could be improved from calling CharSequenceUtilities.endsWith() 6 times to check individual chars so only two charAt() calls would be necessary.

Anyway for repetitive change-row-indent calls we could switch off lexer token hierarchy to speed things up so marking as dup of issue 150197.

*** This bug has been marked as a duplicate of bug 150197 ***