pub fn observe_marshal_persist(block_size_bytes: usize, elapsed: Duration)Expand description
Records time spent persisting an encoded block through consensus marshal.
The observation is stored as nanoseconds per encoded block byte. Large
blocks teach future build and return budgets how much size-dependent
persistence time to reserve for both proposers and validators.
Consensus records this from local marshal.proposed time after persisting a
proposal.