~bzr/bzr/readdir

« back to all changes in this revision

Viewing changes to bzrlib/benchmarks/bench_osutils.py

  • Committer: Robert Collins
  • Date: 2007-03-08 04:38:02 UTC
  • Revision ID: robertc@robertcollins.net-20070308043802-tpk2dyt0n2glwuhs
Restore most of pyrex readdir functionality.

Show diffs side-by-side

added added

removed removed

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