Skip to main content
Module

x/pretty_benching/deps.ts>BenchmarkResult

:sauropod: A small lib to make your Deno benchmarking progress and results look pretty
Latest
interface BenchmarkResult
import { type BenchmarkResult } from "https://deno.land/x/pretty_benching@v0.3.3/deps.ts";

Defines the result of a single benchmark

Properties

name: string

The name of the benchmark

totalMs: number

The total time it took to run a given bechmark

runsCount: number

Times the benchmark was run in succession.

measuredRunsAvgMs: number

The average time of running the benchmark in milliseconds.

measuredRunsMs: number[]

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