/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/benchmarks/bench_add.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-06-08 20:01:35 UTC
  • mfrom: (1753.1.2 branch)
  • Revision ID: pqm@pqm.ubuntu.com-20060608200135-842f7645e1e456b6
(robertc, j-a-meinel)Replacement xml format 5 serializer which is much more efficient - saves 0.6 seconds on add on 10K trees. (robertc, ab, jam)Fix memory usage on bzr branch.

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 making smart_add use the parent_ie:  5033ms/ 9368ms
 
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')