While investigating issue 144131, adding numerous logging lines, running profiler in various possible and impossible
configurations, Nigel managed to capture profiling snapshot:
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
too much unnecessary File.canWrite() calls in Mercurial.getTMP.
i've added some caching, should significantly reduce their amount.
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)
User: Tomas Stupka <firstname.lastname@example.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.