]> Nishi Git Mirror - gwion.git/commitdiff
update
authorJérémie Astor <astor.jeremie@wanadoo.fr>
Thu, 16 Jan 2020 23:34:46 +0000 (00:34 +0100)
committerJérémie Astor <astor.jeremie@wanadoo.fr>
Thu, 16 Jan 2020 23:34:46 +0000 (00:34 +0100)
scripts/benchmark.sh

index 2e4a0a27176bf649d62759f84dd06e428c479960..7bdfc0cf28fa38ddf6dbe501448995799c4e97d9 100644 (file)
@@ -7,6 +7,7 @@ plot_script="scripts/bench.plot"
 : "${repeats:=10}"
 
 run() {
+  echo "$1 $3 $2" >&2
   perf stat -r"$repeats" "$1" "$test_dir/$3.$2" 2>&1 | grep "time elapsed" |
     sed 's/ *\([0-9]*\),\([0-9]*\) .* seconds time elapsed *( +- *\([0-9]*\),\([0-9]*\)% )/\1.\2 \3.\4/'
 }