~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/benchmarks/bench_status.py

[merge] Performance tweaking for 'bzr status'

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
        self.run_bzr('add')
30
30
        # on robertc's machine the first sample of this took 1687ms/15994ms
31
31
        self.time(self.run_bzr, 'status')
 
32
 
 
33
    def test_no_changes_known_kernel_like_tree(self):
 
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')
 
38
        self.time(self.run_bzr, 'status')