on master help sign in
Use a new version of gauge with exact match option
9182d7dHarendra Kumar
bench.sh+6−5
@@ -124,15 +124,16 @@ run_bench () {
124 find_bench_prog
124 find_bench_prog
125 mkdir -p charts
125 mkdir -p charts
126
126
127− # We set min-samples to 1 so that we run with default benchmark duration of 5
127+ # We set min-samples to 3 if we use less than three samples, statistical
128− # seconds, whatever number of samples are possible in that.
128+ # analysis crashes. Note that the benchmark runs for a minimum of 5 seconds.
129− # We run just one iteration for each sample. Anyway the default is to run
129+ # We use min-duration=0 to run just one iteration for each sample. Anyway the
130+ # default is to run iterations worth minimum 30 ms and most of our benchmarks
130− # for 30 ms and most our benchmarks are close to that or more.
131+ # are close to that or more.
131− # If we use less than three samples, statistical analysis crashes
132 $BENCH_PROG $ENABLE_QUICK \
132 $BENCH_PROG $ENABLE_QUICK \
133 --include-first-iter \
133 --include-first-iter \
134 --min-samples 3 \
134 --min-samples 3 \
135 --min-duration 0 \
135 --min-duration 0 \
136+ --match exact
136 --csvraw=$OUTPUT_FILE \
137 --csvraw=$OUTPUT_FILE \
137 -v 2 \
138 -v 2 \
138 --measure-with $BENCH_PROG $GAUGE_ARGS || die "Benchmarking failed"
139 --measure-with $BENCH_PROG $GAUGE_ARGS || die "Benchmarking failed"
stack.yaml+8−16
@@ -1,29 +1,21 @@
1#resolver: lts-11.0
1#resolver: lts-11.0
2−resolver: nightly-2018-06-24
2+resolver: nightly-2018-07-06
3packages:
3packages:
4- '.'
4- '.'
5#- location: ../bench-graph
5#- location: ../bench-graph
6# extra-dep: true
6# extra-dep: true
7+allow-newer: true
7extra-deps:
8extra-deps:
8− - simple-conduit-0.6.0
9− - SDL-0.6.5.1
9+ - SDL-0.6.6.0
10−
11− - git: https://github.com/composewell/bench-graph
12− commit: 268a04061cca7eda448b8f741d8d0aa82cd6be3a
13
10
14 - git: https://github.com/harendra-kumar/hs-gauge
11 - git: https://github.com/harendra-kumar/hs-gauge
15− commit: f3bb4a1fc801c581224843759b7e6dabb0aef3dc
12+ commit: 5ac72696cba8e1d747f98e1656a0cfac0a5e9c71
16
13
14+ - bench-graph-0.1.0
15+ - Chart-1.9
17− - Chart-diagrams-1.8.3
16+ - Chart-diagrams-1.9
17+ - Unique-0.4.7.2
18 - SVGFonts-1.6.0.3
18 - SVGFonts-1.6.0.3
19− - diagrams-core-1.4.0.1
20− - diagrams-lib-1.4.2
21− - diagrams-postscript-1.4
22− - diagrams-svg-1.4.1.1
23− - diagrams-solve-0.1.1
24− - dual-tree-0.2.1
25− - lens-4.15.4
26− - free-4.12.4
27
19
28flags: {}
20flags: {}
29extra-package-dbs: []
21extra-package-dbs: []