Bencher Metric Format (BMF)


Built-in benchmark harness adapters convert benchmark output into Bencher Metric Format (BMF) JSON. Custom benchmarking harnesses should output their results as BMF JSON and use the json adapter. See how to track custom benchmarks for a full overview.

Bencher Metric Format (BMF) JSON Schema

This is the JSON schema for Bencher Metric Format (BMF) JSON:

{
"$id": "https://bencher.dev/bmf.json",
"$schema": "http://json-schema.org/draft-07/schema",
"type": "object",
"patternProperties": {
".+": {
"type": "object",
"patternProperties": {
".+": {
"type": "object",
"properties": {
"value": {
"type": "number"
},
"lower_value": {
"type": "number"
},
"upper_value": {
"type": "number"
}
},
"required": ["value"]
}
}
}
}
}


Published: Sun, May 12, 2024 at 3:12:00 PM UTC