Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
14 files changed:
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 })
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)
-})
format: 'table.html',
details: true
})
format: 'table.html',
details: true
})
-).catch(err => {
- console.error(err)
-})
format: 'table.html',
details: true
})
format: 'table.html',
details: true
})
-).catch(err => {
- console.error(err)
-})
Benchmark.save({ file: 'empty-array', format: 'json', details: true }),
Benchmark.save({ file: 'empty-array', format: 'chart.html', details: true }),
Benchmark.save({ file: 'empty-array', format: 'table.html', details: true })
Benchmark.save({ file: 'empty-array', format: 'json', details: true }),
Benchmark.save({ file: 'empty-array', format: 'chart.html', details: true }),
Benchmark.save({ file: 'empty-array', format: 'table.html', details: true })
-).catch(err => {
- console.error(err)
-})
Benchmark.save({ file: 'fibonacci', format: 'json', details: true }),
Benchmark.save({ file: 'fibonacci', format: 'chart.html', details: true }),
Benchmark.save({ file: 'fibonacci', format: 'table.html', details: true })
Benchmark.save({ file: 'fibonacci', format: 'json', details: true }),
Benchmark.save({ file: 'fibonacci', format: 'chart.html', details: true }),
Benchmark.save({ file: 'fibonacci', format: 'table.html', details: true })
-).catch(err => {
- console.error(err)
-})
format: 'table.html',
details: true
})
format: 'table.html',
details: true
})
-).catch(err => {
- console.error(err)
-})
format: 'table.html',
details: true
})
format: 'table.html',
details: true
})
-).catch(err => {
- console.error(err)
-})
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 })
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)
-})
Benchmark.save({ file: 'min', format: 'json', details: true }),
Benchmark.save({ file: 'min', format: 'chart.html', details: true }),
Benchmark.save({ file: 'min', format: 'table.html', details: true })
Benchmark.save({ file: 'min', format: 'json', details: true }),
Benchmark.save({ file: 'min', format: 'chart.html', details: true }),
Benchmark.save({ file: 'min', format: 'table.html', details: true })
-).catch(err => {
- console.error(err)
-})
- .catch(e => {
- console.error(e)
- })
}),
Benchmark.add('voided promise', () => {
// eslint-disable-next-line no-void
}),
Benchmark.add('voided promise', () => {
// eslint-disable-next-line no-void
format: 'table.html',
details: true
})
format: 'table.html',
details: true
})
-).catch(err => {
- console.error(err)
-})
format: 'table.html',
details: true
})
format: 'table.html',
details: true
})
-).catch(err => {
- console.error(err)
-})
format: 'table.html',
details: true
})
format: 'table.html',
details: true
})
-).catch(err => {
- console.error(err)
-})
format: 'table.html',
details: true
})
format: 'table.html',
details: true
})
-).catch(err => {
- console.error(err)
-})
format: 'table.html',
details: true
})
format: 'table.html',
details: true
})
-).catch(err => {
- console.error(err)
-})