Skip to content

Commit

Permalink
Update packages/SwingSet/misc-tools/delivery-summary.py
Browse files Browse the repository at this point in the history
Co-authored-by: Richard Gibson <[email protected]>
  • Loading branch information
warner and gibson042 authored Oct 5, 2024
1 parent 82e2486 commit f8e4e82
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions packages/SwingSet/misc-tools/delivery-summary.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
#
# Given a slogfile on stdin, this measures which deliveries happened
# in which blocks, and emits a CSV of (blockHeight, del1, del2, ..)
# with a count of delivery types. It may be useful to get a sense of
# when a chain is doing lots of different things, vvs when it settles
# down into catching up on a backlog that consists of lots of
# instances of the same thing.
# Given a slogfile on stdin, emit a CSV of notify/message deliveries:
# blockHeight,number,number,...
# in which the header line enumerates vatID.kind deliveries by
# decreasing total footprint, each number is a sum of count (or of
# computrons as requested by the first argument), and blockHeight
# identifies the start of a 100-block batch.
# It may be useful to get a sense of when a chain is doing lots of
# different things, vs. when it settles down into catching up on a
# backlog that consists of lots of instances of the same thing.

import sys, json
from collections import defaultdict
Expand Down

0 comments on commit f8e4e82

Please sign in to comment.