~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/benchmarks/bench_bench.py

  • Committer: John Arbash Meinel
  • Date: 2006-08-07 21:12:32 UTC
  • mto: (1908.4.6 commit-perf)
  • mto: This revision was merged to the branch mainline in revision 1923.
  • Revision ID: john@arbash-meinel.com-20060807211232-96637b7104feace3
Add the ability to specify a benchmark cache directory.

Show diffs side-by-side

added added

removed removed

Lines of Context:
59
59
        (this should be a clone)
60
60
        """
61
61
        # Call make_kernel_like_committed_tree to make sure it is cached
62
 
        self.make_kernel_like_committed_tree(root='foo')
 
62
        # we just throw it away, so hardlink the first bzr directory
 
63
        self.make_kernel_like_committed_tree(root='foo', hardlink_bzr=True)
63
64
        self.time(self.make_kernel_like_committed_tree, root='bar')
64
65
 
65
66
    def test_07_make_kernel_like_committed_tree_hardlink(self):