/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/benchmarks/bench_workingtree.py

Update with new parent-ids patch.

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