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 202183 - Scrolling of a file which as long line is very slow
Summary: Scrolling of a file which as long line is very slow
Status: RESOLVED DUPLICATE of bug 203118
Alias: None
Product: editor
Classification: Unclassified
Component: Painting & Printing (show other bugs)
Version: -S1S-
Hardware: PC Linux
: P3 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2011-09-15 12:41 UTC by Petr Pisl
Modified: 2011-10-18 09:20 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
File that contains long line at the end. (261.18 KB, text/plain)
2011-09-15 12:41 UTC, Petr Pisl
Details
The snapshot of the scrolling. (108.76 KB, application/octet-stream)
2011-09-15 12:41 UTC, Petr Pisl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Pisl 2011-09-15 12:41:21 UTC
Created attachment 110788 [details]
File that contains long line at the end.

The GWT generate html files that contains a lot of JavaScript. Some of these files are big (10 000 line) and contains a few lines that are long. Scrolling down such file in editor consume 100% of CPU for few seconds. 

For example the attached file contains at the end a line that has more than 35 000 characters. When this line is not painted, then the scrolling is ok, when the line is in the view area, the AWT freeze for 10 seconds on my machine. I also attaching a snapshot, where you can see that the problem is in painting.
Comment 1 Petr Pisl 2011-09-15 12:41:58 UTC
Created attachment 110789 [details]
The snapshot of the scrolling.
Comment 2 Miloslav Metelka 2011-10-18 09:20:16 UTC
This is in fact dup of issue 203118.

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