mix juggernaut.profile (Juggernaut v0.4.0)

Copy Markdown View Source

Where a run's time went: phase clocks; per-mutant duration percentiles (p50, p90, p99, max) by test selection; fallbacks to a whole file, the whole suite or the boot lane and the functions that caused them; the tests that cost the most across mutant jobs; worker utilisation and recycles; results reused and their recorded time; selection misses found by cold reconfirmation. Durations are measured by the run; reused results are counted apart, with the time recorded by the run they came from.

mix juggernaut.profile [RUN] [--format human|json]

RUN is a run id, latest (the default) or latest~N.

Options

  • --format human|json - Output format. Default: human. Or set JUGGERNAUT_FORMAT.

Exit codes

  • 0 - shown
  • 2 - unknown run, or another usage error

Summary

Functions

The run named by the positional argument, latest when there is none.

Functions

run_ref(list)

@spec run_ref([String.t()]) ::
  {:ok, Juggernaut.Store.Runs.ref()} | {:error, Juggernaut.Error.t()}

The run named by the positional argument, latest when there is none.