Function: suite()
suite(
name
,fn
):Promise
<Record
<string
,Result
[]>>
Registers a new suite to run.
Parameters
• name: string
The name of the suite.
• fn
Callback to register benchmarks and update the suite.
Returns
Promise
<Record
<string
, Result
[]>>
The results of the suite. Record<string, Result[]>