laziness

John Arbash Meinel john at arbash-meinel.com
Thu Apr 7 11:41:20 UTC 2011


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

On 4/7/2011 1:32 PM, Jelmer Vernooij wrote:
> Over the last couple of months a lot has happened to reduce the amount
> of time that Bazaar spends importing Python modules during startup. 
> 
> Bazaar itself already was doing quite well in this regard, but most of
> our tuning had happened without any plugins loaded.
> 
> With these changes the startup overhead of "bzr ls" in a small tree
> (etckeeper) with bzr 2.3 and bzr.dev on my machine has gone down
> from .44 to .20 seconds (best of 5 runs).
> 

Nice. It certainly improves user-visible things, making bzr feel more
responsive in general.

Of course, on Windows with len(sys.path) == 77, my 'bzr ls -R' time is
still about 800ms. (An old compiled bzr is down around 284ms here with
- --no-plugins)

John
=:->

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk2douAACgkQJdeBCYSNAAOnhACcDgjeks4uOKMg0dsZ7OBJi4ll
dhUAoNAlIlq+mpKpL+yQnXGxX5N+ORIQ
=kC0x
-----END PGP SIGNATURE-----



More information about the bazaar mailing list