24
24
class WorkingTreeBenchmark(Benchmark):
26
26
def test_list_files_kernel_like_tree(self):
30
28
self.time(list, tree.list_files())
32
30
def test_list_files_unknown_kernel_like_tree(self):
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