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 224140

Summary: org.netbeans.lib.editor.util.swing.DocumentUtilities.getText: LowPerformance took 4063 ms.
Product: editor Reporter: Petr Jiricka <pjiricka>
Component: -- Other --Assignee: Milutin Kristofic <mkristofic>
Status: RESOLVED WORKSFORME    
Severity: normal Keywords: PERFORMANCE
Priority: P3    
Version: 7.3   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 190922
Attachments: nps snapshot

Description Petr Jiricka 2012-12-21 16:41:48 UTC
This issue was reported manually by pjiricka.
It already has 2 duplicates 


Build: NetBeans IDE Dev (Build web-main-9588-on-20121221)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.6-b04, Java(TM) SE Runtime Environment, 1.7.0_10-b18
OS: Mac OS X

User Comments:
pjiricka: Find in files while project opening/scanning was in progress.



Maximum slowness yet reported was 4274 ms, average is 4168
Comment 1 Petr Jiricka 2012-12-21 16:41:50 UTC
Created attachment 129627 [details]
nps snapshot
Comment 2 Milutin Kristofic 2013-01-07 17:17:31 UTC
I checked both snapshots. In snapshot #642013 I don't see any slowdown. There is creating many sidebars, which involves class loading. The snapshot #601620 is initializing editor, which again involves class loading.