import Benchmark from 'benny'
+
import { sleep } from './benchmark-utils.mjs'
const timeout = 2000
Benchmark.save({ file: 'busy-wait', format: 'json', details: true }),
Benchmark.save({ file: 'busy-wait', format: 'chart.html', details: true }),
Benchmark.save({ file: 'busy-wait', format: 'table.html', details: true })
-).catch(err => {
- console.error(err)
-})
+).catch(console.error)