~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/benchmarks/bench_log.py

  • Committer: John Arbash Meinel
  • Date: 2006-08-14 16:16:53 UTC
  • mto: (1946.2.6 reduce-knit-churn)
  • mto: This revision was merged to the branch mainline in revision 1919.
  • Revision ID: john@arbash-meinel.com-20060814161653-54cdcdadcd4e9003
Remove bogus entry from BRANCH.TODO

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
 
44
44
    def test_log(self):
45
45
        """Run log in a many-commit tree.""" 
46
 
        tree = self.make_many_commit_tree(hardlink=True)
 
46
        tree = self.make_many_commit_tree()
47
47
        lf = log_formatter('long', to_file=StringIO())
48
48
        self.time(show_log, tree.branch, lf, direction='reverse')
49
49
 
50
50
    def test_merge_log(self):
51
51
        """Run log in a tree with many merges"""
52
 
        tree = self.make_heavily_merged_tree(hardlink=True)
 
52
        tree = self.make_heavily_merged_tree()
53
53
        lf = log_formatter('short', to_file=StringIO())
54
54
        self.time(show_log, tree.branch, lf, direction='reverse')
55
55
 
67
67
 
68
68
    def screenful_tester(self, formatter):
69
69
        """Run show_log, but stop after 25 lines are generated"""
70
 
        tree = self.make_many_commit_tree(hardlink=True)
 
70
        tree = self.make_many_commit_tree()
71
71
        def log_screenful():
72
72
            lf = log_formatter(formatter, to_file=LineConsumer(25))
73
73
            try:
80
80
 
81
81
    def test_cmd_log(self):
82
82
        """Test execution of the log command.""" 
83
 
        tree = self.make_many_commit_tree(hardlink=True)
 
83
        tree = self.make_many_commit_tree()
84
84
        self.time(self.run_bzr, 'log', '-r', '-4..')
85
85
 
86
86
    def test_cmd_log_subprocess(self):
87
87
        """Text startup and execution of the log command.""" 
88
 
        tree = self.make_many_commit_tree(hardlink=True)
 
88
        tree = self.make_many_commit_tree()
89
89
        self.time(self.run_bzr_subprocess, 'log', '-r', '-4..')
90
90
 
91
91
    def test_log_verbose(self):
92
92
        """'verbose' log -- shows file changes"""
93
 
        tree = self.make_many_commit_tree(hardlink=True)
 
93
        tree = self.make_many_commit_tree()
94
94
        lf = log_formatter('long', to_file=StringIO())
95
95
        self.time(show_log, tree.branch, lf, direction='reverse', verbose=True)