From: Jérôme Benoit Date: Mon, 24 Oct 2022 09:36:44 +0000 (+0200) Subject: Improve benny reports X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=fb341cfe4ddb61a33ab7dccb644aa8d6a0049f21;hp=f10b1da0dc4d21b8b8b8ba91283809028dd710e9;p=benchmarks-js.git Improve benny reports Signed-off-by: Jérôme Benoit --- diff --git a/empty-array.js b/empty-array.js index 9ddc17d..0c5f725 100644 --- a/empty-array.js +++ b/empty-array.js @@ -26,6 +26,7 @@ Benchmark.suite( }), Benchmark.cycle(), Benchmark.complete(), - Benchmark.save({ file: 'empty-array', format: 'chart.html' }), - Benchmark.save({ file: 'empty-array', format: 'table.html' }) + 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 }) ) diff --git a/max.js b/max.js index 5525c92..367a859 100644 --- a/max.js +++ b/max.js @@ -50,7 +50,7 @@ Benchmark.suite( Benchmark.add('reduceTernaryMax', () => { reduceTernaryMax(testArray) }), - Benchmark.add('reduceMathMax', () => { + Benchmark.add('reduceMath.max', () => { reduceMathMax(testArray) }), Benchmark.add('sortMax', () => { @@ -58,6 +58,7 @@ Benchmark.suite( }), Benchmark.cycle(), Benchmark.complete(), - Benchmark.save({ file: 'max', format: 'chart.html' }), - Benchmark.save({ file: 'max', format: 'table.html' }) + 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 }) ) diff --git a/random.js b/random.js index 72b0b91..1eeeedd 100644 --- a/random.js +++ b/random.js @@ -41,6 +41,19 @@ Benchmark.suite( }), Benchmark.cycle(), Benchmark.complete(), - Benchmark.save({ file: 'random-integer-generator', format: 'chart.html' }), - Benchmark.save({ file: 'random-integer-generator', format: 'table.html' }) + Benchmark.save({ + file: 'random-integer-generator', + format: 'json', + details: true + }), + Benchmark.save({ + file: 'random-integer-generator', + format: 'chart.html', + details: true + }), + Benchmark.save({ + file: 'random-integer-generator', + format: 'table.html', + details: true + }) )