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 235941 - org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.indexEmbedding: LowPerformance took 52196 ms.
Summary: org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.indexEmbedd...
Status: VERIFIED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal with 1 vote (vote)
Assignee: Ondrej Brejla
URL:
Keywords: PERFORMANCE
: 236659 237447 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-09-13 14:30 UTC by Exceptions Reporter
Modified: 2013-11-14 13:53 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 197660


Attachments
nps snapshot (128.05 KB, application/nps)
2013-09-13 14:30 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2013-09-13 14:30:12 UTC
Build: NetBeans IDE 7.4 Beta (Build 201307092200)
VM: Java HotSpot(TM) Client VM, 23.25-b01, Java(TM) SE Runtime Environment, 1.7.0_25-b16
OS: Windows 7

User Comments:
GUEST: Clicking on an open file's tab (changing file)



Maximum slowness yet reported was 52196 ms, average is 28601
Comment 1 Exceptions Reporter 2013-09-13 14:30:14 UTC
Created attachment 140055 [details]
nps snapshot
Comment 2 Tomas Zezula 2013-09-16 10:41:49 UTC
The PHP's NavigatorScanner.PHPClassStructureItem::getHtml() calls QuerySupport in EDT. Either the display names should be calculated when the navigator is populating (like in JavaScript) or please create a feature request on CSL to be able to return the HTML display name in asynchronous way. Probably the first one (the JS way) is easier.
Comment 3 Ondrej Brejla 2013-09-16 11:46:25 UTC
Fixed in web-main #82331aedd057
Comment 4 Quality Engineering 2013-09-17 02:01:33 UTC
Integrated into 'main-silver', will be available in build *201309170002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/82331aedd057
User: Ondrej Brejla <obrejla@netbeans.org>
Log: #235941 - org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.indexEmbedding: LowPerformance took 52196 ms.
Comment 5 Ondrej Brejla 2013-10-02 15:44:20 UTC
*** Bug 236659 has been marked as a duplicate of this bug. ***
Comment 6 Ondrej Brejla 2013-10-22 13:55:15 UTC
*** Bug 237447 has been marked as a duplicate of this bug. ***
Comment 7 Ondrej Brejla 2013-11-11 12:58:16 UTC
Testers, please, verify ASAP. Thanks!
Comment 8 Vladimir Riha 2013-11-12 09:56:59 UTC
Cannot reproduce, I can open files, go to declaration, select file's tab and no problem. Verified

Product Version: NetBeans IDE Dev (Build 201311120002)
Java: 1.7.0_45; Java HotSpot(TM) Client VM 24.45-b08
Runtime: Java(TM) SE Runtime Environment 1.7.0_45-b18
System: Linux version 3.2.0-48-generic-pae running on i386; UTF-8; en_US (nb)
Comment 9 Ondrej Brejla 2013-11-12 13:14:12 UTC
Transplanted to release74 branch, please verify, thanks.
Comment 10 mmolda 2013-11-14 13:53:04 UTC
Verified.

Product Version: NetBeans IDE 7.4 (Build 201311141216)
Java: 1.8.0-ea; Java HotSpot(TM) 64-Bit Server VM 25.0-b50
Runtime: Java(TM) SE Runtime Environment 1.8.0-ea-b108
System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb)