Skip to main content

CustomScenarioOutcome

@webda/bench


Interface: CustomScenarioOutcome

Defined in: packages/bench/src/runner.ts:117

Outcome of a custom scenario

Extends​

Properties​

checks?​

optional checks?: Record<string, string | number | boolean>

Defined in: packages/bench/src/runner.ts:17

Values to report: lost, duplicated, finalCounter...

Inherited from​

ScenarioChecks.checks


durationMs?​

optional durationMs?: number

Defined in: packages/bench/src/runner.ts:129

Measured duration in ms, defaults to the duration of run


errors?​

optional errors?: number

Defined in: packages/bench/src/runner.ts:125

Failed operations


failures?​

optional failures?: string[]

Defined in: packages/bench/src/runner.ts:21

Failed checks, marking the result unstable

Inherited from​

ScenarioChecks.failures


notes?​

optional notes?: string[]

Defined in: packages/bench/src/runner.ts:25

Free-form notes

Inherited from​

ScenarioChecks.notes


ops​

ops: number

Defined in: packages/bench/src/runner.ts:121

Successful operations