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 191279 - LowPerformance took 3722 ms.
Summary: LowPerformance took 3722 ms.
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Painting & Printing (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2010-10-23 12:05 UTC by lolo_101
Modified: 2010-11-02 04:00 UTC (History)
6 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 172996


Attachments
nps snapshot (12.23 KB, application/nps)
2010-10-23 12:05 UTC, lolo_101
Details

Note You need to log in before you can comment on or make changes to this bug.
Description lolo_101 2010-10-23 12:05:10 UTC
Build: NetBeans IDE 7.0 M2 (Build 201010151251)
VM: Java HotSpot(TM) 64-Bit Server VM, 17.1-b03, Java(TM) SE Runtime Environment, 1.6.0_22-b04
OS: Windows 7

User Comments:
fzamboj: pasting large content into xml

GUEST: Scrolling large file

GUEST: i was trying to scroll a file and it occurred (slowness)

pekz0r: Opend a remote file(PHP Application on remote server) in project after startup of the IDE.

GUEST: My intire ide is running slowly, i am trying to edit and it's typing very slowly

karel_barel: maximizing ide window



Maximum slowness yet reported was 14179 ms, average is 4954
Comment 1 lolo_101 2010-10-23 12:05:18 UTC
Created attachment 102588 [details]
nps snapshot
Comment 2 Miloslav Metelka 2010-11-01 14:53:56 UTC
This could possibly be caused by a high number of TextLayout objects present in
memory for view hierarchy. I've activated a cache for last 200 lines where text
layouts were constructed and the rest is abandoned and constructed on demand.

http://hg.netbeans.org/jet-main/rev/c3ec241ef13f
Comment 3 Quality Engineering 2010-11-02 04:00:29 UTC
Integrated into 'main-golden', will be available in build *201011020000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/c3ec241ef13f
User: Miloslav Metelka <mmetelka@netbeans.org>
Log: #191279 - LowPerformance took 3722 ms - activated TextLayoutCache to only hold 200 last active lines.