/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_status.py

  • Committer: Robert Collins
  • Date: 2006-05-22 09:17:55 UTC
  • mto: (1721.1.2 integration)
  • mto: This revision was merged to the branch mainline in revision 1723.
  • Revision ID: robertc@robertcollins.net-20060522091755-ce8d5afb417ab26f
Review feedback.

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
from bzrlib.benchmarks import Benchmark
20
20
 
21
21
 
22
 
class Status(Benchmark):
 
22
class StatusBenchmark(Benchmark):
23
23
 
24
 
    def test_clean_kernel_like_tree(self):
25
 
        """Status in a clean kernel sized tree should be bearable (<2secs) fast.""" 
26
 
        self.make_kernel_tree()
 
24
    def test_no_ignored_unknown_kernel_like_tree(self):
 
25
        """Status in a kernel sized tree with no ignored or unknowns.
 
26
        
 
27
        This should be bearable (<2secs) fast.""" 
 
28
        self.make_kernel_like_tree()
27
29
        self.run_bzr('add')
28
30
        # on robertc's machine the first sample of this took 1687ms/15994ms
29
31
        self.time(self.run_bzr, 'status')