Periodic metric snapshot system that captures operations per second and memory usage every 10 seconds during benchmark execution.
Stores snapshots in memory for CSV-style output at the end.
Summary
Functions
Returns a specification to start this module under a supervisor.
Gets all captured snapshots.
Prints all snapshots in CSV format.
Starts the metric snapshot process.
Stops the metric snapshot process and returns final snapshots.
Updates the current operation counters.
Functions
Returns a specification to start this module under a supervisor.
See Supervisor.
Gets all captured snapshots.
Prints all snapshots in CSV format.
Starts the metric snapshot process.
Stops the metric snapshot process and returns final snapshots.
Updates the current operation counters.
Parameters
ops: A map with operation counts::raw_enc_ops- Raw encoding operations count:raw_dec_ops- Raw decoding operations count:z_enc_ops- Zlib encoding operations count:z_dec_ops- Zlib decoding operations count