~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/benchmarks/bench_transform.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-08-15 05:02:17 UTC
  • mfrom: (1908.2.20 benchmark-caching)
  • Revision ID: pqm@pqm.ubuntu.com-20060815050217-d2df7c83d6c5eeca
(jam) bzr selftest --benchmark --cache-dir=foo will save and re-use setup trees

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
 
27
27
    def test_canonicalize_path(self):
28
28
        """Canonicalizing paths should be fast.""" 
29
 
        self.make_kernel_like_tree()
30
 
        wt = WorkingTree.open('.')
 
29
        wt = self.make_kernel_like_tree(link_working=True)
31
30
        paths = []
32
31
        for dirpath, dirnames, filenames in os.walk('.'):
33
32
            paths.extend(pathjoin(dirpath, d) for d in dirnames)