~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/benchmarks/tree_creator/kernel_like.py

  • Committer: Martin Pool
  • Date: 2009-03-03 03:01:49 UTC
  • mfrom: (4070 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4073.
  • Revision ID: mbp@sourcefrog.net-20090303030149-8p8o8hszdtqa7w8f
merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
69
69
        return tree
70
70
 
71
71
    def _create_tree(self, root, in_cache=False):
72
 
        # a kernel tree has ~10000 and 500 directory, with most files around 
73
 
        # 3-4 levels deep. 
 
72
        # a kernel tree has ~10000 and 500 directory, with most files around
 
73
        # 3-4 levels deep.
74
74
        # we simulate this by three levels of dirs named 0-7, givin 512 dirs,
75
75
        # and 20 files each.
76
76
        files = []