~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/benchmarks/bench_log.py

  • Committer: Aaron Bentley
  • Date: 2006-06-23 02:17:16 UTC
  • mto: This revision was merged to the branch mainline in revision 1807.
  • Revision ID: aaron.bentley@utoronto.ca-20060623021716-c9b81f6432adf745
Add benchmarks for merged trees

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
        lf = log_formatter('long', to_file=StringIO())
48
48
        self.time(show_log, tree.branch, lf, direction='reverse')
49
49
 
 
50
    def test_merge_log(self):
 
51
        """Run log in a tree with many merges"""
 
52
        tree = self.make_heavily_merged_tree()
 
53
        lf = log_formatter('short', to_file=StringIO())
 
54
        self.time(show_log, tree.branch, lf, direction='reverse')
 
55
 
50
56
    def test_log_screenful(self):
51
57
        """Simulate log --long|less"""
52
58
        self.screenful_tester('long')