~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: 2008-04-07 07:52:50 UTC
  • mfrom: (3340.1.1 208418-1.4)
  • Revision ID: pqm@pqm.ubuntu.com-20080407075250-phs53xnslo8boaeo
Return the correct knit serialisation method in _StreamAccess.
        (Andrew Bennetts, Martin Pool, Robert Collins)

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