Use a new version of gauge with exact match option

This commit is contained in:
Harendra Kumar 2018-07-07 10:15:24 +05:30
parent e5ea92f2c9
commit 9182d7d25f
2 changed files with 14 additions and 21 deletions

View File

@ -124,15 +124,16 @@ run_bench () {
find_bench_prog
mkdir -p charts
# We set min-samples to 1 so that we run with default benchmark duration of 5
# seconds, whatever number of samples are possible in that.
# We run just one iteration for each sample. Anyway the default is to run
# for 30 ms and most our benchmarks are close to that or more.
# If we use less than three samples, statistical analysis crashes
# We set min-samples to 3 if we use less than three samples, statistical
# analysis crashes. Note that the benchmark runs for a minimum of 5 seconds.
# We use min-duration=0 to run just one iteration for each sample. Anyway the
# default is to run iterations worth minimum 30 ms and most of our benchmarks
# are close to that or more.
$BENCH_PROG $ENABLE_QUICK \
--include-first-iter \
--min-samples 3 \
--min-duration 0 \
--match exact
--csvraw=$OUTPUT_FILE \
-v 2 \
--measure-with $BENCH_PROG $GAUGE_ARGS || die "Benchmarking failed"

View File

@ -1,29 +1,21 @@
#resolver: lts-11.0
resolver: nightly-2018-06-24
resolver: nightly-2018-07-06
packages:
- '.'
#- location: ../bench-graph
# extra-dep: true
allow-newer: true
extra-deps:
- simple-conduit-0.6.0
- SDL-0.6.5.1
- git: https://github.com/composewell/bench-graph
commit: 268a04061cca7eda448b8f741d8d0aa82cd6be3a
- SDL-0.6.6.0
- git: https://github.com/harendra-kumar/hs-gauge
commit: f3bb4a1fc801c581224843759b7e6dabb0aef3dc
commit: 5ac72696cba8e1d747f98e1656a0cfac0a5e9c71
- Chart-diagrams-1.8.3
- bench-graph-0.1.0
- Chart-1.9
- Chart-diagrams-1.9
- Unique-0.4.7.2
- SVGFonts-1.6.0.3
- diagrams-core-1.4.0.1
- diagrams-lib-1.4.2
- diagrams-postscript-1.4
- diagrams-svg-1.4.1.1
- diagrams-solve-0.1.1
- dual-tree-0.2.1
- lens-4.15.4
- free-4.12.4
flags: {}
extra-package-dbs: []