/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/benchmarks/bench_bundle.py

  • Committer: John Arbash Meinel
  • Date: 2006-10-27 23:03:05 UTC
  • mto: This revision was merged to the branch mainline in revision 2101.
  • Revision ID: john@arbash-meinel.com-20061027230305-d86805cc0247fe47
Remove stipple from bundle benchmarks

Show diffs side-by-side

added added

removed removed

Lines of Context:
73
73
    """ Benchmarks for the write_bundle library function. """
74
74
 
75
75
    def _time_read_write(self):
76
 
        print "timing"
77
76
        branch, relpath = Branch.open_containing("a")
78
77
        revision_history = branch.revision_history()
79
78
        bundle_text = StringIO()
80
 
        print "starting write bundle"
81
79
        self.time(write_bundle, branch.repository, revision_history[-1],
82
80
                  NULL_REVISION, bundle_text)
83
 
        print "stopped writing bundle"
84
81
        bundle_text.seek(0)
85
82
        target_tree = self.make_branch_and_tree('b')
86
 
        print "starting reading bundle"
87
83
        bundle = self.time(read_bundle, bundle_text)
88
 
        print "starting installing bundle"
89
84
        self.time(install_bundle, target_tree.branch.repository, bundle)
90
85
 
91
86
    def test_few_files_small_tree_1_revision(self):