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 194559

Summary: LowPerformance took 3142 ms.
Product: editor Reporter: stjohnjohnson
Component: Completion & TemplatesAssignee: Dusan Balek <dbalek>
Status: RESOLVED INCOMPLETE    
Severity: normal CC: AlexMiller
Priority: P3 Keywords: PERFORMANCE
Version: 7.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 176027
Attachments: nps snapshot

Description stjohnjohnson 2011-01-21 06:09:08 UTC
This bug was originally marked as duplicate of bug 181584, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 7.0 Beta (Build 201011152355)
VM: Java HotSpot(TM) 64-Bit Server VM, 17.1-b03-307, Java(TM) SE Runtime Environment, 1.6.0_22-b04-307-10M3261
OS: Mac OS X

User Comments:
stjohnjohnson: Typing & in an alt tag in HTML 5



Maximum slowness yet reported was 3142 ms, average is 3142
Comment 1 stjohnjohnson 2011-01-21 06:09:13 UTC
Created attachment 105226 [details]
nps snapshot
Comment 2 Dusan Balek 2011-01-28 08:55:06 UTC
Seems like a JDK problem - 16 calls to java.awt.FontMetrics.getStringBounds(...) took 2988 ms (as can be seen from the attached NPS snapshot). That's strange. Are you experiencing similar problems often while invoking code completion?
Comment 3 Dusan Balek 2011-01-28 09:05:20 UTC
OOPS - incorrectly marked as FIXED.
Comment 4 Dusan Balek 2011-01-28 09:35:33 UTC
*** Bug 194575 has been marked as a duplicate of this bug. ***
Comment 5 stjohnjohnson 2011-02-02 17:38:13 UTC
It's happened a few other times, but nothing I could directly figure out.  Usually only during HTML completion