~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-09-26 23:30:56 UTC
  • mfrom: (2044.1.1 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20060926233056-203e713964b2cd51
(Robert Collins) Forward merge from 0.11rc2 NEWS and performance-regression fix.

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()
27
 
        # on roberts machine this originally took:  25936ms/32244ms
28
 
        # after making smart_add use the parent_ie:  5033ms/ 9368ms
 
26
        self.make_kernel_like_tree(link_working=True)
 
27
        # on roberts machine: this originally took:  25936ms/32244ms
 
28
        # after making smart_add use the parent_ie:   5033ms/ 9368ms
 
29
        # plain os.walk takes 213ms on this tree
29
30
        self.time(self.run_bzr, 'add')