~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/benchmarks/bench_status.py

  • Committer: Aaron Bentley
  • Date: 2006-08-16 19:13:00 UTC
  • mfrom: (1934 +trunk)
  • mto: (1910.2.43 format-bumps)
  • mto: This revision was merged to the branch mainline in revision 1935.
  • Revision ID: abentley@panoramicfeedback.com-20060816191300-045772b26b975d1c
Merge 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')