~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/benchmarks/bench_osutils.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-10-29 05:04:00 UTC
  • mfrom: (2947.1.3 pack)
  • Revision ID: pqm@pqm.ubuntu.com-20071029050400-j2jmz8smj2yecfrr
(robertc) Fix pack-repository to support get_parents calls as the first call on a repository, and fix full-branch push/pull performance to not suck terribly. (Robert Collins)

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
        self.make_kernel_like_tree(link_working=True)
30
30
        # on roberts machine: this originally took:  157ms/4177ms
31
31
        # plain os.walk takes 213ms on this tree
32
 
        # with the pyrex readdir module:              77ms/5423ms
33
32
        def dowalk():
34
33
            for dirblock in osutils.walkdirs('.'):
35
34
                if dirblock[0][1] == '.bzr':