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 237597

Summary: org.netbeans.modules.html.editor.gsf.HtmlStructureItem.runTask: LowPerformance took 72608 ms.
Product: web Reporter: aberdyugin
Component: HTML EditorAssignee: Milutin Kristofic <mkristofic>
Status: NEW ---    
Severity: normal CC: jamessarjeant, jokance, mfukala, muellermi, myururdurmaz, pjiricka, rdelaplante, rweaver, tudorilisoi, tzezula
Priority: P3 Keywords: PERFORMANCE
Version: 7.4   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 204869
Attachments: nps snapshot
nps snapshot

Description aberdyugin 2013-10-24 06:21:22 UTC
This bug was originally marked as duplicate of bug 225603, 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 8

User Comments:
aberdyugin: Background scan project



Maximum slowness yet reported was 72608 ms, average is 72608
Comment 1 aberdyugin 2013-10-24 06:21:25 UTC
Created attachment 141497 [details]
nps snapshot
Comment 2 rweaver 2014-02-05 17:31:22 UTC
Created attachment 144845 [details]
nps snapshot

Nothing special
Comment 3 Marek Fukala 2014-07-28 07:51:35 UTC
slow IndexResult.getFile() --- resolving of URLs, should be already fixed, but passing to indexing for confirmation.
Comment 4 Tomas Zezula 2014-07-28 09:22:56 UTC
The the IndexResult.getFile() is fast now as it does not use bio Path any more.
However looking at the snapshot https://netbeans.org/bugzilla/attachment.cgi?id=144845 (from comment #2) there is no IndexResult.getFile() call.
The problem is that the HtmlStructureItem calls ParserManager.parse in the EDT and is blocked on parser lock.
Seems that the issue contains several unrelated snapshots.
Either treat it as "IndexResult.getFile" problem and close it or split it into several issues.