mix raxol.scoreboard (Raxol v2.8.0)

View Source

Collect the scoreboard metrics (see Raxol.Scoreboard) and print them.

$ MIX_ENV=test mix raxol.scoreboard
$ MIX_ENV=test mix raxol.scoreboard --output scoreboard.json \
    --include buffer.json --commit "$GITHUB_SHA"

Options:

  • --output PATH -- write the record as JSON.
  • --include PATH -- merge the "metrics" object of another JSON file, such as the one bench/core/buffer_gate.exs --json PATH writes. May be given more than once.
  • --commit SHA -- the commit the record describes (default: git rev-parse HEAD).
  • --bless -- rewrite priv/scoreboard/screens.refs from the current scenario screens before collecting. Use it only when a scenario is meant to draw something different, and commit the file with the change: a different screen is a different benchmark.

The application is configured but not started: the scenarios call the render pipeline directly, and a started application would add processes and user preferences that have nothing to do with the measurement.