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.
While investigating issue 144131, adding numerous logging lines, running profiler in various possible and impossible configurations, Nigel managed to capture profiling snapshot: http://www.netbeans.org/nonav/issues/showattachment.cgi/69382/nb_mk2.nps It shows that 12s is wasted in visibility query. Quite surprisingly it is Subversion visibility query which then delegates to mercurial(!) and spends 12s there. Please, speed up by ~12s for release 6.5 please and for new revision consider rewriting the system to follow some logical rules when delegating between various version control system.
see a couple of issues here: 1.) slow hg.getTopMostManagedAncesor 2.) cross delegation between vcs in VQ - should be managed the same way as the CQ by the versioning manager - new isssue #146634
too much unnecessary File.canWrite() calls in Mercurial.getTMP. i've added some caching, should significantly reduce their amount. changeset: 100804:b6de3e9e3e4b Nigel, if you aren't already too tired from all the profiler sessions, it would be great if you could take a snapshot one more time. The same as you did for 144131. you either have to wait for tomorrows build or i could send you the patched module. thanks a lot
Integrated into 'main-golden', will be available in build *200809100201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/b6de3e9e3e4b User: Tomas Stupka <tstupka@netbeans.org> Log: #146617 - 12s wasted while expanding 163 files
created a simple scenario to measure the amount of canWrite calls in hg.getTMP. The fix reduced them to 7% compared to the old implementation, so i consider this fixed for now. Lets verify or reopen the issue based on the snapshot from Nigel
I've downloaded the latest build it is faster, I hope we can still go a little faster but it's much improved thx.
performace seems to be fine. verifying