Improve benny reports
[benchmarks-js.git] / max.js
diff --git a/max.js b/max.js
index 5525c9293451fd335924e88a15698b43cf2e31ae..367a859126e91b8f2b70a04a41422f31f2951a22 100644 (file)
--- 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 })
 )