import Benchmark from 'benny'
+
import { generateRandomNumberArray } from './benchmark-utils.mjs'
const size = 10000
Benchmark.save({ file: 'max', format: 'json', details: true }),
Benchmark.save({ file: 'max', format: 'chart.html', details: true }),
Benchmark.save({ file: 'max', format: 'table.html', details: true })
-).catch(err => {
- console.error(err)
-})
+).catch(console.error)