~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/benchmarks/bench_pack.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-02-23 17:00:36 UTC
  • mfrom: (4032.1.4 jam-integration)
  • Revision ID: pqm@pqm.ubuntu.com-20090223170036-3q1v68ewdt8i0to5
(Marius Kruger) Remove all trailing whitespace and add tests to
        enforce this.

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
    """Benchmark pack performance."""
29
29
 
30
30
    def test_insert_one_gig_1k_chunks_no_names_disk(self):
31
 
        # test real disk writing of many small chunks. 
32
 
        # useful for testing whether buffer sizes are right 
 
31
        # test real disk writing of many small chunks.
 
32
        # useful for testing whether buffer sizes are right
33
33
        transport = self.get_transport()
34
34
        stream = transport.open_write_stream('pack.pack')
35
35
        writer = pack.ContainerWriter(stream.write)