std/testing/bench.ts

Deno standard library
Go to Latest
interface BenchmarkResult
import { type BenchmarkResult } from "https://deno.land/std@0.102.0/testing/bench.ts?s=BenchmarkResult";

Defines the result of a single benchmark

Properties

name: string[src]

The name of the benchmark

totalMs: number[src]

The total time it took to run a given bechmark

runsCount: number[src]

Times the benchmark was run in succession.

measuredRunsAvgMs: number[src]

The average time of running the benchmark in milliseconds.

measuredRunsMs: number[][src]

The individual measurements in milliseconds it took to run the benchmark.