/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/benchmarks/bench_checkout.py

  • Committer: John Arbash Meinel
  • Date: 2006-08-15 03:19:08 UTC
  • mto: This revision was merged to the branch mainline in revision 1923.
  • Revision ID: john@arbash-meinel.com-20060815031908-5208d87bc727d34b
Refactor helper functions into each creator file

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 
18
18
 
19
19
from bzrlib.benchmarks import Benchmark
 
20
from bzrlib.benchmarks.tree_creator.kernel_like import (
 
21
    make_kernel_like_committed_tree,
 
22
    )
20
23
 
21
24
 
22
25
class CheckoutBenchmark(Benchmark):
23
26
 
24
27
    def test_build_kernel_like_tree(self):
25
28
        """Checkout of a clean kernel sized tree should be (<10secs)."""
26
 
        self.make_kernel_like_committed_tree(link_bzr=True)
 
29
        make_kernel_like_committed_tree(self, '.', link_bzr=True)
27
30
        self.time(self.run_bzr, 'checkout', '--lightweight', '.', 'acheckout')