Module log_message

Source
Expand description

Representation of benchmark log messages in the “native evobench” format

The protocol allows for versioning. Metadata and Start are separate so that the reader can change the parser version before reading the possibly changed Metadata. Start must never change structure, unlike what follows.

Structs§

KeyValue
Metadata
ProcessId
ThreadId
Timing
UName

Enums§

DataMessage
LogMessage
PointKind

Constants§

EVOBENCH_LOG_VERSION
Only increment this for incompatible changes, not for additional fields that can be handled as Option. Also, you might want to create a new module for the new version and keep this module for reading old logs.