Commit eb8de680 authored by Tim Peters's avatar Tim Peters

Display total pack time at the end.

parent dfbfbe55
...@@ -132,7 +132,9 @@ def index(rt, mboxfile, db): ...@@ -132,7 +132,9 @@ def index(rt, mboxfile, db):
pack_time += p1 - p0 pack_time += p1 - p0
if VERBOSE: if VERBOSE:
print
print "Index time", idx_time print "Index time", idx_time
print "Pack time", pack_time
print "Index bytes", Message.total_bytes print "Index bytes", Message.total_bytes
rate = (Message.total_bytes / idx_time) / 1024 rate = (Message.total_bytes / idx_time) / 1024
print "Index rate %d KB/sec" % int(rate) print "Index rate %d KB/sec" % int(rate)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment