~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/benchmarks/bench_commit.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 Commit(Benchmark):
 
22
class CommitBenchmark(Benchmark):
23
23
 
24
24
    def test_commit_kernel_like_tree(self):
25
25
        """Commit of a fresh import of a clean kernel sized tree."""
26
 
        self.make_kernel_tree()
 
26
        self.make_kernel_like_tree()
27
27
        self.run_bzr('add')
28
28
        # on robertc's machine the first sample of this took 59750ms/77682ms
29
29
        self.time(self.run_bzr, 'commit', '-m', 'first post')