~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-02-23 17:00:36 UTC
  • mfrom: (4032.1.4 jam-integration)
  • Revision ID: pqm@pqm.ubuntu.com-20090223170036-3q1v68ewdt8i0to5
(Marius Kruger) Remove all trailing whitespace and add tests to
        enforce this.

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 = []