~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/benchmarks/bench_status.py

merge from bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
    def test_no_ignored_unknown_kernel_like_tree(self):
25
25
        """Status in a kernel sized tree with no ignored or unknowns.
26
26
        
27
 
        This should be bearable (<2secs) fast.""" 
28
 
        self.make_kernel_like_tree()
29
 
        self.run_bzr('add')
 
27
        This should be bearable (<2secs) fast.
 
28
        """ 
 
29
        self.make_kernel_like_added_tree()
30
30
        # on robertc's machine the first sample of this took 1687ms/15994ms
31
31
        self.time(self.run_bzr, 'status')
32
32
 
33
33
    def test_no_changes_known_kernel_like_tree(self):
34
34
        """Status in a kernel sized tree with no ignored, unknowns, or added.""" 
35
 
        self.make_kernel_like_tree()
36
 
        self.run_bzr('add')
37
 
        self.run_bzr('commit', '-m', 'initial import')
 
35
        self.make_kernel_like_committed_tree(link_bzr=True)
38
36
        self.time(self.run_bzr, 'status')