~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/benchmarks/bench_checkout.py

  • Committer: Jelmer Vernooij
  • Date: 2009-01-28 18:42:55 UTC
  • mto: This revision was merged to the branch mainline in revision 3968.
  • Revision ID: jelmer@samba.org-20090128184255-bdmklkvm83ltk191
Update NEWS

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."""
24
25
 
25
26
    def test_build_kernel_like_tree(self):
26
27
        """Checkout of a clean kernel sized tree should be (<10secs)."""
27
28
        self.make_kernel_like_committed_tree(link_bzr=True)
28
 
        self.time(self.run_bzr, 'checkout', '--lightweight', '.', 'acheckout')
 
29
        self.time(self.run_bzr, ['checkout', '--lightweight', '.', 'acheckout'])