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 237536 - org.netbeans.modules.parsing.spi.indexing.support.IndexResult.getFile: LowPerformance took 85938 ms.
Summary: org.netbeans.modules.parsing.spi.indexing.support.IndexResult.getFile: LowPer...
Status: RESOLVED WONTFIX
Alias: None
Product: editor
Classification: Unclassified
Component: CSL (API & infrastructure) (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords: PERFORMANCE
: 237535 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-10-23 10:09 UTC by Exceptions Reporter
Modified: 2016-07-07 07:29 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 204843


Attachments
nps snapshot (347.75 KB, application/nps)
2013-10-23 10:09 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-10-23 10:09:08 UTC
This bug was originally marked as duplicate of bug 229138, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 7.4 (Build 201310111528)
VM: Java HotSpot(TM) Client VM, 24.45-b08, Java(TM) SE Runtime Environment, 1.7.0_45-b18
OS: Windows XP

User Comments:
GUEST: i was trying to view a submitted slowness report and the whole IDE got blocked.



Maximum slowness yet reported was 85938 ms, average is 85938
Comment 1 Exceptions Reporter 2013-10-23 10:09:15 UTC
Created attachment 141463 [details]
nps snapshot
Comment 2 Tomas Zezula 2013-10-25 11:56:29 UTC
CSS PropertyValueEditor calls index in EDT which ends in URLMapper.findFileObject().
Comment 3 Tomas Zezula 2013-10-25 11:59:19 UTC
*** Bug 237535 has been marked as a duplicate of this bug. ***
Comment 4 Marek Fukala 2014-07-28 09:48:14 UTC
(In reply to Tomas Zezula from comment #2)
> CSS PropertyValueEditor calls index in EDT which ends in
> URLMapper.findFileObject().

This is a known issue. The children of the StructureItem can't be computed in advance and once the CSL infrastructure asks for them, they need to be synchronously computed and returned.

I do not remember all the aspects now, but we tried to resolve the performance issues with Svata some time ago and this was a compromise. 

It looks like I can't do much to resolve this problem - either the CSL won't call getNestedItems() in EDT or the whole API needs to be redefined to better support the needs.
Comment 5 Martin Balin 2016-07-07 07:29:10 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss