~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/benchmarks/bench_checkout.py

  • Committer: Aaron Bentley
  • Date: 2007-02-06 14:52:16 UTC
  • mfrom: (2266 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2268.
  • Revision ID: abentley@panoramicfeedback.com-20070206145216-fcpi8o3ufvuzwbp9
Merge bzr.dev

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')