Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface BenchmarkData

Raw data collected from Benchmark.record.

Hierarchy

  • BenchmarkData

Indexable

[description: string]: { children: BenchmarkData; durations: number[]; totalDuration?: number }

Description passed to Benchmark.record.

  • children: BenchmarkData

    Nested test data, such as when passing ["A", "B"] as the description to Benchmark.record.

  • durations: number[]

    Durations of all measured iterations, in milliseconds.

  • Optional totalDuration?: number

    Total duration of the benchmark, i.e. for throughput. This is nullable for compatibility with older serialized data from the Jest reporter.

Generated using TypeDoc