~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/benchmarks/bench_xml.py

  • Committer: John Arbash Meinel
  • Date: 2007-03-14 20:47:17 UTC
  • mto: (2353.4.2 locking)
  • mto: This revision was merged to the branch mainline in revision 2360.
  • Revision ID: john@arbash-meinel.com-20070314204717-htynwogv97fqr22a
Cleanup errors, and change ReadOnlyLockError to pass around more details.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
 
25
25
 
26
26
class BenchXMLSerializer(Benchmark):
27
 
    """Benchmarks for serializing to/from XML."""
28
27
 
29
28
    def test_write_to_string_kernel_like_inventory(self):
30
29
        # On jam's machine, ElementTree serializer took: 2161ms/13487ms