~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 23:27:20 UTC
  • mto: This revision was merged to the branch mainline in revision 1811.
  • Revision ID: aaron.bentley@utoronto.ca-20060623232720-5cf2f2d1b095395a
Add log --verbose benchmark

Show diffs side-by-side

added added

removed removed

Lines of Context:
87
87
        """Text startup and execution of the log command.""" 
88
88
        tree = self.make_many_commit_tree()
89
89
        self.time(self.run_bzr_subprocess, 'log', '-r', '-4..')
 
90
 
 
91
    def test_log_verbose(self):
 
92
        """'verbose' log -- shows file changes"""
 
93
        tree = self.make_many_commit_tree()
 
94
        lf = log_formatter('long', to_file=StringIO())
 
95
        self.time(show_log, tree.branch, lf, direction='reverse', verbose=True)