laziness
John Arbash Meinel
john at arbash-meinel.com
Thu Apr 7 13:10:22 UTC 2011
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 4/7/2011 2:16 PM, Eli Zaretskii wrote:
>> Date: Thu, 07 Apr 2011 13:41:20 +0200
>> From: John Arbash Meinel <john at arbash-meinel.com>
>> Cc: bazaar at lists.canonical.com
>>
>> 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)
>
> What is the size of that tree (e.g., how many directories and files)?
> And on what hardware?
>
> In an Emacs branch, I get 1.5s (1.25 with --no-plugins) with bzr
> 2.3.1, on a 2.66GHz Pentium D.
The specific point is not to measure the time spent in running 'ls', but
the overhead of importing bzrlib and loading its formats and
repositories, etc.
I'm pretty sure he is testing against a tree with almost no files. (In
my case, it is a tree with only a single file.)
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk2dt74ACgkQJdeBCYSNAANKigCgnWTNzbWfaj2+H1TZQDidcNfB
aU4AoK4zMaIg54irEqBY7sO8SRfXM0e8
=5A6j
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list