[ZODB-Dev] Pickle size sums

Barry A. Warsaw barry@zope.com
Mon, 12 Nov 2001 10:53:04 -0500


>>>>> "CW" == Chris Withers <chrisw@nipltd.com> writes:

    CW> "Barry A. Warsaw" wrote:
    >>  It's difficult, but I think if you calculate pickle size sums,
    >> you'll get a close enough ballpark figure.

    CW> how'd I do that?

Various ways, but the way I did it was to essentially instrument
copyTransactionsFrom() and keep a sum of the `data' argument to
storage.store().

-Barry