~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-05-23 00:18:26 UTC
  • mfrom: (1724.1.1 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20060523001826-458fe69c27fc17a7
Merge bzr add performance improvements. (Robert Collins)

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
    def test_one_add_kernel_like_tree(self):
25
25
        """Adding a kernel sized tree should be bearable (<5secs) fast.""" 
26
26
        self.make_kernel_like_tree()
27
 
        # on roberts machine this originally took: 25936ms/32244ms
28
 
        # after low hanging fruit                :  9692ms/13911ms
 
27
        # on roberts machine this originally took:  25936ms/32244ms
 
28
        # after making smart_add use the parent_ie:  5033ms/ 9368ms
29
29
        self.time(self.run_bzr, 'add')