Use correct statistics pkg, fix graph option
commit1ddd81b81874daa2142ef2f3976e9f2c605c36cf
authorHarendra Kumar <harendra.kumar@gmail.com>
dateSun 28 Oct 2018, 20:16 (8 years ago)
parent2bd1ada
bench.sh+2−2
@@ -205,7 +205,7 @@ run_reports() {
205205 for i in $1
206206 do
207207 echo "Generating reports for ${i}..."
208− $prog --benchmark $i
208+ $prog $(test "$GRAPH" = 1 && echo "--graphs") --benchmark $i
209209 done
210210}
211211
@@ -282,5 +282,5 @@ fi
282282
283283if test "$RAW" = "0"
284284then
285− run_reports "$BENCHMARKS"
285+ run_reports "$BENCHMARKS"
286286fi
stack.yaml+3−1
@@ -1,7 +1,6 @@
11resolver: lts-12.11
22packages:
33- '.'
4−allow-newer: true
54extra-deps:
65 - SDL-0.6.6.0
76 - gauge-0.2.4
@@ -9,6 +8,9 @@ extra-deps:
98 - Chart-diagrams-1.9
109 - SVGFonts-1.6.0.3
1110 - bench-show-0.2.1
11+ - statistics-0.15.0.0
12+ - dense-linear-algebra-0.1.0.0
13+ - math-functions-0.3.0.2
1214
1315flags: {}
1416extra-package-dbs: []