on master help sign in
Use a new version of gauge with exact match option
commit9182d7d25f9d50273e197f0946f72be1b6f13770 authorHarendra Kumar <harendra.kumar@gmail.com> dateSat 7 Jul 2018, 10:15 (8 years ago) parente5ea92f
2 files changed+14−21
bench.sh+6−5 stack.yaml+8−16
bench.sh+6−5
@@ -124,15 +124,16 @@ run_bench () {
124124 find_bench_prog
125125 mkdir -p charts
126126
127− # We set min-samples to 1 so that we run with default benchmark duration of 5
128− # seconds, whatever number of samples are possible in that.
129− # We run just one iteration for each sample. Anyway the default is to run
130− # for 30 ms and most our benchmarks are close to that or more.
131− # If we use less than three samples, statistical analysis crashes
127+ # We set min-samples to 3 if we use less than three samples, statistical
128+ # analysis crashes. Note that the benchmark runs for a minimum of 5 seconds.
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
131+ # are close to that or more.
132132 $BENCH_PROG $ENABLE_QUICK \
133133 --include-first-iter \
134134 --min-samples 3 \
135135 --min-duration 0 \
136+ --match exact
136137 --csvraw=$OUTPUT_FILE \
137138 -v 2 \
138139 --measure-with $BENCH_PROG $GAUGE_ARGS || die "Benchmarking failed"
stack.yaml+8−16
@@ -1,29 +1,21 @@
11#resolver: lts-11.0
2−resolver: nightly-2018-06-24
2+resolver: nightly-2018-07-06
33packages:
44- '.'
55#- location: ../bench-graph
66# extra-dep: true
7+allow-newer: true
78extra-deps:
8− - simple-conduit-0.6.0
9− - SDL-0.6.5.1
10−
11− - git: https://github.com/composewell/bench-graph
12− commit: 268a04061cca7eda448b8f741d8d0aa82cd6be3a
9+ - SDL-0.6.6.0
1310
1411 - git: https://github.com/harendra-kumar/hs-gauge
15− commit: f3bb4a1fc801c581224843759b7e6dabb0aef3dc
12+ commit: 5ac72696cba8e1d747f98e1656a0cfac0a5e9c71
1613
17− - Chart-diagrams-1.8.3
14+ - bench-graph-0.1.0
15+ - Chart-1.9
16+ - Chart-diagrams-1.9
17+ - Unique-0.4.7.2
1818 - 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
2719
2820flags: {}
2921extra-package-dbs: []