ocurrent / current-bench

Experimental benchmarking infrastructure using OCurrent pipelines
Apache License 2.0
33 stars 17 forks source link

cb-check: print only benchmark names on success #450

Open 3Rafal opened 1 year ago

3Rafal commented 1 year ago

Currently, after successful cb-check, it will print a message Correctly parsed some benchmarks: and then print whole JSON, which can be pretty lengthy. Should we change it to print only benchmark names? It would be easier to figure out if check is successful.

Example of current output:

$ cb-check bench.json 
Correctly parsed following benchmarks:
{
  "name": "benchmark",
  "results": [
    {
      "name": "result",
      "metrics": [
        {
          "name": "a",
          "description": "b",
          "value": 15.0,
          "units": "todo",
          "trend": "",
          "lines": []
        },
[... multiple lines of json output]