[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[TSVN] Profiling questions

From: Will Dean <svn_at_indcomp.co.uk>
Date: 2004-10-31 14:01:32 CET

Hi,

I've built a little test harness to allow me to stress the shell
extension's interfaces under a profiler. (Just the DevPartner profiler for
VS at the moment).

All I've been looking at so far is how fast we can get the status for a
single file, where we hit the statuscache each time.

To do this, I basically init the shell extension, then call IsMemberOf
10000 times on the same file. I know this doesn't represent any realistic
workload, but it does confine the testing within TSVN, and does test a path
which represents system-wide per-file load on the shell, so i think it's
worthwhile.

As ever when profiling, one discovers interesting things, and I shall
probably ask lots of tedious questions for a bit....

It turns out that a lot of time was being spent in registry access, which
is counter-intuitive, as a great deal of effort has been put into avoiding
this, with quite a neat lazy-reading system.

While trying to investigate this, I have discovered that there are two
instances of ShellCache - one global one, and one in SVNFolderStatus.

Is this the intention?

Thanks,

Will

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Sun Oct 31 14:03:15 2004

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.