[MERGE] log performance

Aaron Bentley aaron.bentley at utoronto.ca
Fri Jun 23 22:11:43 BST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Robert Widhopf-Fenk wrote:
>>I don't see any explanation of what taking the lock earlier
>>accomplishes.  Are you trying to avoid reading the revision-history
>>twice?
> 
> 
> Yes that was the point, but it does not speed up the whole
> operation so much anymore with your latest changes.

Strange, I didn't deliberately speed up revision-history.

> I might be wrong, but isn't the history ready twice over the
> network without the lock?

Yes, that's how it looks.  On my example, it spends the vast majority of
its time in get_revisions.  But two seconds is two seconds.

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFEnFkO0F+nu1YWqI0RAumiAJoDyKXt30IUak4QeJXyzYKvvTVc6wCeM4sh
l3C7PH1APSxEnYP1YSqbp3A=
=umEf
-----END PGP SIGNATURE-----




More information about the bazaar mailing list