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 208849 - 35s - PHP logical project node computation
Summary: 35s - PHP logical project node computation
Status: RESOLVED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Project (show other bugs)
Version: 7.1
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2012-02-25 09:15 UTC by Exceptions Reporter
Modified: 2012-10-05 02:01 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 178176


Attachments
nps snapshot (211.96 KB, application/nps)
2012-02-25 09:15 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2012-02-25 09:15:14 UTC
Build: NetBeans IDE 7.1 (Build 201112071828)
VM: OpenJDK 64-Bit Server VM, 21.0-b17, OpenJDK Runtime Environment, 1.7.0_147-icedtea-b147
OS: Linux

User Comments:
GUEST: opening a PHP project and "Sanning project"



Maximum slowness yet reported was 34767 ms, average is 28157
Comment 1 Exceptions Reporter 2012-02-25 09:15:19 UTC
Created attachment 116101 [details]
nps snapshot
Comment 2 Jaroslav Tulach 2012-03-01 17:22:13 UTC
AWT blocked by
org.openide.nodes.Children.getNodeAt()	57.708706	14039 ms (57,7%)	33.6 ms	1

which waits for
org.netbeans.modules.php.project.ui.logicalview.SrcNode$FolderChildren.createNodes()	55.5667	13518 ms (55,6%)	13333 ms	16
Comment 3 Tomas Mysik 2012-03-29 11:00:05 UTC
Well, I don't see anything incorrect in PHP area... What I see is (for the FolderChildren.createNodes() mentioned earlier):

org.openide.nodes.FilterNode$FilterLookup.lookup()	42.40602	10319 ms (42,4%)	10268 ms
org.openide.nodes.Node.getLookup()	10.729878	2611 ms (10,7%)	2611 ms

The other snapshot (snapshot-501803.npss):

org.openide.loaders.DataObject.find()	49.791515	5715 ms (49,8%)	5595 ms
java.io.WinNTFileSystem.getBooleanAttributes[native]()	42.02939	4824 ms (42%)	4824 ms

Will investigate more...
Comment 4 Tomas Mysik 2012-10-04 10:54:53 UTC
Should be fixed now.

http://hg.netbeans.org/web-main/rev/5315263791aa
Comment 5 Quality Engineering 2012-10-05 02:01:50 UTC
Integrated into 'main-golden', will be available in build *201210050002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/5315263791aa
User: Tomas Mysik <tmysik@netbeans.org>
Log: #208849 - 35s - PHP logical project node computation