~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/benchmarks/bench_workingtree.py

  • Committer: Aaron Bentley
  • Date: 2006-08-16 19:13:00 UTC
  • mfrom: (1934 +trunk)
  • mto: (1910.2.43 format-bumps)
  • mto: This revision was merged to the branch mainline in revision 1935.
  • Revision ID: abentley@panoramicfeedback.com-20060816191300-045772b26b975d1c
Merge bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
class WorkingTreeBenchmark(Benchmark):
25
25
 
26
26
    def test_list_files_kernel_like_tree(self):
27
 
        self.make_kernel_like_tree()
28
 
        self.run_bzr('add')
29
 
        tree = WorkingTree.open('.')
 
27
        tree = self.make_kernel_like_added_tree()
30
28
        self.time(list, tree.list_files())
31
29
 
32
30
    def test_list_files_unknown_kernel_like_tree(self):
33
 
        self.make_kernel_like_tree()
 
31
        tree = self.make_kernel_like_tree(link_working=True)
34
32
        tree = WorkingTree.open('.')
35
33
        # Bzr only traverses directories if they are versioned
36
34
        # So add all the directories, but not the files, yielding