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 186578 - LowPerformance took 3375 ms.
Summary: LowPerformance took 3375 ms.
Status: RESOLVED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: HTML Editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Marek Fukala
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2010-05-24 07:41 UTC by shukydvir
Modified: 2010-11-23 15:28 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 164618


Attachments
nps snapshot (15.14 KB, application/nps)
2010-05-24 07:41 UTC, shukydvir
Details

Note You need to log in before you can comment on or make changes to this bug.
Description shukydvir 2010-05-24 07:41:14 UTC
Build: NetBeans IDE 6.9 Beta (Build 201004200117)
VM: Java HotSpot(TM) Client VM, 14.3-b01, Java(TM) SE Runtime Environment, 1.6.0_17-b04
OS: Windows XP

User Comments:
GUEST: just trying trying a new method in a class

GUEST: just open the site

GUEST: Browsed php preferences

jellobird: scanning projects at startup



Maximum slowness yet reported was 5437 ms, average is 4377
Comment 1 shukydvir 2010-05-24 07:41:20 UTC
Created attachment 99368 [details]
nps snapshot
Comment 2 Marek Fukala 2010-05-31 09:01:27 UTC
Someone or something pressed enter key in an html file or in a file containing html code (PHP). Since the ide is apparently in the process of initialization or just after it, the snapshot shows lot of classloading and initializations of per ide session classes.

The biggest culprit there is HtmlIndenter (1388ms) , which needs to get an instance of DTD model. The model hasn't been created yet so it takes some time...

The rest of the time is mostly spent in generic indentation code and in classloading.

I have no idea how to fix such issue except maybe a warmuptask?!?!?
Comment 3 Marek Fukala 2010-11-23 15:28:58 UTC
last report from 6.9 beta, likely fixed, closing