~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/benchmarks/bench_checkout.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-06-28 07:08:27 UTC
  • mfrom: (2553.1.3 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20070628070827-h5s313dg5tnag9vj
(robertc) Show the names of commit hooks during commit.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
 
22
22
 
23
23
class CheckoutBenchmark(Benchmark):
24
 
    """Benchmarks for ``'bzr checkout'`` performance."""
25
24
 
26
25
    def test_build_kernel_like_tree(self):
27
26
        """Checkout of a clean kernel sized tree should be (<10secs)."""
28
27
        self.make_kernel_like_committed_tree(link_bzr=True)
29
 
        self.time(self.run_bzr, ['checkout', '--lightweight', '.', 'acheckout'])
 
28
        self.time(self.run_bzr, 'checkout', '--lightweight', '.', 'acheckout')