Add a test for benchmark to the Suite
name of test
function to call
this
Do a rough estimate on number of times test can run per second
test to estimate
async function
how long to run estimate
estimate result
Measure time takes to execute function count
times
function to call
is function async (will await on it)
number of times to call
time in seconds
Run benchmark on all tests
results - sorted from fastest to slowest
Run benchmark on a test
test to run
test should be async
test benchmark result
Generated using TypeDoc
node.js benchmark Suite
Events:
{ test: PerfTest, result: PerfResult }
on completion of each testPerfResult[]
after all tests are done