selftest.backtick versus selftest.run_bzr
Martin Pool
martinpool at gmail.com
Sun Sep 18 02:20:42 BST 2005
On 18/09/05, David Clymer <david at zettazebra.com> wrote:
> > Yes and no. There was a discussion recently that it is easier to debug
> > test failures if it does not actually spawn a new command. (Because you
> > can get nice stack traces, etc).
> >
> > Also, there is quite a bit of overhead of spawning a new instance.
> > Loading all of the python code is not free. On my Mac, "time bzr root"
> > takes 0.6 seconds.
OK, I've gone ahead and converted all the tests that used to run bzr
externally so that they just call things in-process. This cuts the
test suite time from about 20s cpu to about 3s on my Linux laptop; the
reduction is probably even larger on windows.
--
Martin
More information about the bazaar
mailing list