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 171571 - AWT thread blocked for 7000 ms.
Summary: AWT thread blocked for 7000 ms.
Status: RESOLVED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: rmatous
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-06 15:22 UTC by byildirim
Modified: 2009-09-11 21:53 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 156609


Attachments
nps snapshot (31.26 KB, bin/nps)
2009-09-06 15:22 UTC, byildirim
Details
nps snapshot (9.03 KB, bin/nps)
2009-09-08 11:05 UTC, areeda
Details

Note You need to log in before you can comment on or make changes to this bug.
Description byildirim 2009-09-06 15:22:26 UTC
Build: NetBeans IDE Dev (Build 200909040632)
VM: Java HotSpot(TM) 64-Bit Server VM, 14.2-b01, Java(TM) SE Runtime Environment, 1.6.0_16-b01
OS: Windows XP, 5.2, amd64

User Comments:
areeda: Editing a php sppm after opening project.  Common occurance, first time it asked me to report it.

tprochazka: When netbeans run for long time is quite unresponsible, I musst restart them

stefan79: Moved three lines with tab.

areeda: In a new PHP class entering the "function" line of the constructor


Maximum slowness yet reported was 18189 ms, average is 6578
Comment 1 byildirim 2009-09-06 15:22:38 UTC
Created attachment 87172 [details]
nps snapshot
Comment 2 Exceptions Reporter 2009-09-06 15:22:43 UTC
This issue already has 6 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=156609
Comment 3 Vitezslav Stejskal 2009-09-07 10:56:03 UTC
A lot of PHP indexing, but it looks like most of the time was spent by loading/saving timestamps (.properties). Maybe we
should somehow cache this. This takes most of the time when running FileListWork with only a few files (eg. even a
single one when marked as dirty in the editor).
Comment 4 areeda 2009-09-08 11:05:31 UTC
Build: NetBeans IDE Dev (Build 200909040632)
VM: Java HotSpot(TM) Client VM, 10.0-b19, Java(TM) SE Runtime Environment, 1.6.0_05-b13
OS: Linux, 2.6.18-128.2.1.el5, i386

User Comments: 
Entering text into a fairly small PHP file in a medium project.
Maximum slowness yet reported was 18189 ms, average is 6163
Comment 5 areeda 2009-09-08 11:05:35 UTC
Created attachment 87255 [details]
nps snapshot
Comment 6 Exceptions Reporter 2009-09-08 11:05:40 UTC
This issue already has 7 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=156609
Comment 7 Vitezslav Stejskal 2009-09-08 14:16:49 UTC
PhpStructureScanner is supposed to compute all data necessary for Navigator in its scan() method. Several last snapshots
show that PHPFunctionStructureItem.getHtml() still computes some data.
Comment 9 Quality Engineering 2009-09-11 21:53:16 UTC
Integrated into 'main-golden', will be available in build *200909111401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/c9601e164cb4
User: Radek Matous <rmatous@netbeans.org>
Log: performance improvements: minimize disk touches #171337, avoid index reading in structure scanner #171571, hints get index just in case if needed, model cached together with parser result ...