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 183833

Summary: [69cat] TextLayoutCache.get is slow (was: LowPerformance took 4614 ms.)
Product: editor Reporter: mvfranz <mvfranz>
Component: Painting & PrintingAssignee: issues@editor <issues>
Status: RESOLVED FIXED    
Severity: normal CC: alexey_vladykin, azizur, etiger13, hmichel, jtulach, kawazu428, lampacz, misterm, ovk, paolosca, pjiricka, schkovich, stefan79, szmitek, tbrunhoff, tmysik, vv159170, xantiva, yardus
Priority: P2 Keywords: PERFORMANCE
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 167768
Attachments: nps snapshot
nps snapshot

Description mvfranz 2010-04-10 16:14:37 UTC
Build: NetBeans IDE Dev (Build 100410-cd6915c19a1c)
VM: Java HotSpot(TM) 64-Bit Server VM, 14.3-b01-101, Java(TM) SE Runtime Environment, 1.6.0_17-b04-248-10M3025
OS: Mac OS X

User Comments:
pjiricka: Editing Java file.

GUEST: launching newly installed IDE which took settings from previous installations

mvfranz: I am running unit tests on ant.freeform.  The scanning projects task started after I started the tests.



Maximum slowness yet reported was 4773 ms, average is 3877
Comment 1 mvfranz 2010-04-10 16:14:43 UTC
Created attachment 97013 [details]
nps snapshot
Comment 2 xantiva 2010-04-12 00:09:34 UTC
Created attachment 97036 [details]
nps snapshot

During debugging with xdebug in tcpdf.php
Comment 3 stefan79 2010-04-14 18:29:19 UTC
Changed Priority to P2 because I canĀ“t edit big Java-Files.
-> http://statistics.netbeans.org/analytics/exception.do?id=371130
Comment 4 Miloslav Metelka 2010-06-16 08:59:48 UTC
After implementation of lazy children in issue #183646 this should no longer happen since generally only TextLayouts for views visible on screen should be created.