~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/benchmarks/bench_add.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-08-15 05:02:17 UTC
  • mfrom: (1908.2.20 benchmark-caching)
  • Revision ID: pqm@pqm.ubuntu.com-20060815050217-d2df7c83d6c5eeca
(jam) bzr selftest --benchmark --cache-dir=foo will save and re-use setup trees

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
 
24
24
    def test_one_add_kernel_like_tree(self):
25
25
        """Adding a kernel sized tree should be bearable (<5secs) fast.""" 
26
 
        self.make_kernel_like_tree()
 
26
        self.make_kernel_like_tree(link_working=True)
27
27
        # on roberts machine: this originally took:  25936ms/32244ms
28
28
        # after making smart_add use the parent_ie:   5033ms/ 9368ms
29
29
        # plain os.walk takes 213ms on this tree