[Zope-Checkins] CVS: StandaloneZODB/Tools - timeiter.py:1.1.2.8

Guido van Rossum guido@python.org
Fri, 18 Jan 2002 01:06:21 -0500


Update of /cvs-repository/StandaloneZODB/Tools
In directory cvs.zope.org:/tmp/cvs-serv17473

Modified Files:
      Tag: Standby-branch
	timeiter.py 
Log Message:
total_pickle_size should be a long with a big wide format. :-)


=== StandaloneZODB/Tools/timeiter.py 1.1.2.7 => 1.1.2.8 ===
     largest_txn_in_size = 0
     largest_txn_in_objects = 0
-    total_pickle_size = 0
+    total_pickle_size = 0L
     total_object_count = 0
     # Ripped from BaseStorage.copyTransactionsFrom()
     ts = None
@@ -288,7 +288,7 @@
     print >> outfp, "Largest pickle:          %8d" % largest_pickle
     print >> outfp, "Largest transaction:     %8d" % largest_txn_in_size
     print >> outfp, "Largest object count:    %8d" % largest_txn_in_objects
-    print >> outfp, "Total pickle size:       %8d" % total_pickle_size
+    print >> outfp, "Total pickle size: %14d" % total_pickle_size
     print >> outfp, "Total object count:      %8d" % total_object_count