Function: variation()
variation(name
, fn
): void
Registers a new variation to run. Must be inside a benchmark or suite callback.
Parameters
• name: string
The name of the variation.
• fn
A callback to update the variation.
Returns
void
void
Defined in
src/benchmark-runner.ts:54