View Source BeamBenchmarks.Results (beam_benchmarks v0.2.0)

Common results struct for benchmarks

Summary

Types

t()

Results of a benchmark run

Types

t()

@type t() :: %BeamBenchmarks.Results{
  duration_us: non_neg_integer(),
  name: atom(),
  options: keyword(),
  results: any()
}

Results of a benchmark run

  • name - the name of the benchmark
  • options - the options passed to the benchmark
  • results - the return value from the benchmark
  • duration_us - the duration of the benchmark in microseconds