Juggernaut.Phase (Juggernaut v0.4.0)

Copy Markdown View Source

One timed phase of a run (design notes §10.1, §15). started_ms is milliseconds since the run started.

Summary

Functions

The phase names, in run order.

Types

name()

@type name() ::
  :prepare
  | :config
  | :plan
  | :mutate
  | :sync
  | :compile
  | :pool_boot
  | :probe
  | :mutants
  | :boot_lane
  | :cache
  | :report

t()

@type t() :: %Juggernaut.Phase{
  duration_ms: non_neg_integer(),
  name: name(),
  started_ms: non_neg_integer()
}

Functions

names()

@spec names() :: [name()]

The phase names, in run order.