[RFC] test optimisations

John Arbash Meinel john at arbash-meinel.com
Thu Sep 14 20:09:43 BST 2006


Robert Collins wrote:
> So I'm continuing as a background task to tune the test suite. I'm
> seeing a 25% increase at the moment as I go.
> 
> It seems to be shaping up as follows:
> 
>  1) tests that never need disk resources: a tree is only used to setup
> the test.
>    -> MemoryTree + a branch & repo on a MemoryTransport is ideal.
> 
>  2) tests that test behaviour with a tree where the behaviour is not
> tree-format specific: disk access is needed for that, but not for the
> branch and repository.
>     -> WorkingTree + BranchReference on disk, + a branch & repo on a
> MemoryTransport is ideal.
>  

...

> Does this sound reasonable ?
> 
> Rob

Yes.

John
=:->

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060914/b82fd8f9/attachment.pgp 


More information about the bazaar mailing list