interface BenchmarkResult

Result of a benchmark measurement for a single stage.

Properties

name: string

Name of the benchmark stage

durationMs: number

Duration of the stage in milliseconds

optional
itemCount: number

Number of items processed in this stage

optional
itemsPerSecond: number

Throughput: items processed per second

Usage

import { type BenchmarkResult } from ".";