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 213712 - LowPerformance took 3037 ms.
Summary: LowPerformance took 3037 ms.
Status: RESOLVED WONTFIX
Alias: None
Product: editor
Classification: Unclassified
Component: Lexer (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2012-06-07 07:37 UTC by karel_barel
Modified: 2012-06-15 13:23 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 189129


Attachments
nps snapshot (139.58 KB, application/nps)
2012-06-07 07:37 UTC, karel_barel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description karel_barel 2012-06-07 07:37:08 UTC
This bug was originally marked as duplicate of bug 204474, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build 201206060001)
VM: OpenJDK Client VM, 22.0-b10, OpenJDK Runtime Environment, 1.7.0_03-b147
OS: Linux

User Comments:
karel_barel: Started IDE with opened project



Maximum slowness yet reported was 3037 ms, average is 3037
Comment 1 karel_barel 2012-06-07 07:37:20 UTC
Created attachment 120462 [details]
nps snapshot
Comment 2 Miloslav Metelka 2012-06-15 13:23:25 UTC
589869:
Classloading:
java.lang.ClassLoader.loadClass()	15.310112	403 ms (15.3%)	403 ms
java.lang.ClassLoader.loadClass()	3.906811	103 ms (3.9%)	103 ms
java.lang.ClassLoader.loadClass()	10.245569	270 ms (10.2%)	270 ms
java.lang.ClassLoader.loadClass()	1.7957122	47.3 ms (1.8%)	47.3 ms
java.lang.ClassLoader.loadClass()	3.8700569	102 ms (3.9%)	102 ms
java.lang.ClassLoader.loadClass()	2.2660043	59.7 ms (2.3%)	59.7 ms
java.lang.ClassLoader.loadClass()	1.7449242	46.0 ms (1.7%)	46.0 ms
java.lang.ClassLoader.loadClass()	1.1389571	30.0 ms (1.1%)	30.0 ms
java.lang.ClassLoader.loadClass()	2.229478	58.7 ms (2.2%)	58.7 ms

Text layout init:
java.awt.font.TextLayout.fastInit()	15.386275	405 ms (15.4%)	405 ms
java.awt.font.TextLayout.fastInit()	7.7376485	203 ms (7.7%)	203 ms
java.awt.font.TextLayout.fastInit()	4.7518497	125 ms (4.8%)	125 ms


587927:
java.awt.font.TextLayout.fastInit()	28.436176	821 ms (28.4%)	393 ms
java.awt.font.TextLayout.fastInit()	8.22241	237 ms (8.2%)	237 ms

Initialization of CSS3 lexer:
org.netbeans.modules.css.lib.nblexer.NbCss3Lexer.<init>()	9.922291	286 ms (9.9%)	286 ms

The CSS3 lexer can hardly be improved it's rather complex.