Skip to main content

Class: MarkdownBenchmarkReporter

Implements

Constructors

new MarkdownBenchmarkReporter()

new MarkdownBenchmarkReporter(opts): MarkdownBenchmarkReporter

Parameters

opts

opts.fields?: ("raw" | "min" | "max" | "average" | "p95" | "failed" | "failureRate")[]

opts.outputFile: string

Returns

MarkdownBenchmarkReporter

Defined in

src/reporters/markdown-benchmark-reporter.ts:11

Properties

fields

fields: ("raw" | "min" | "max" | "average" | "p95" | "failed" | "failureRate")[]

Defined in

src/reporters/markdown-benchmark-reporter.ts:9


outputFile

outputFile: string

Defined in

src/reporters/markdown-benchmark-reporter.ts:8


report()

report: (benchmark, results) => void

Parameters

benchmark: Benchmark

results: Result[]

Returns

void

Implementation of

BenchmarkReporter.report

Defined in

src/reporters/markdown-benchmark-reporter.ts:19