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.
This bug was originally marked as duplicate of bug 220919, 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.3 (Build 201302132200) VM: Java HotSpot(TM) Client VM, 20.1-b02, Java(TM) SE Runtime Environment, 1.6.0_26-b03 OS: Windows 7 User Comments: GUEST: Travamento da IDE Maximum slowness yet reported was 186444 ms, average is 186444
Created attachment 132232 [details] nps snapshot
at org.netbeans.modules.php.smarty.editor.TplBracesMatching.findMatches(TplBracesMatching.java:205) Php Smarty has readlock and then start parsing. You shouldn't do that. Can you please change it?
Yeah, of course. I took a look into source and the lock is even not necessary after the parsing phase. So I'll lock the document for much shorter time. BTW, the slowness is from the parsing in the PHP where are many queries to the index, I passed the snapshot to the PHP editor.
Created attachment 132593 [details] nps snapshot
Thanks for reporting. Fixed in web-main #953e5df076ba.
Integrated into 'main-golden', will be available in build *201305172300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/953e5df076ba User: Martin Fousek <marfous@netbeans.org> Log: #227071 - org.netbeans.editor.BaseDocument.extWriteLock: LowPerformance took 186444 ms.
*** Bug 234698 has been marked as a duplicate of this bug. ***