Echo benchmark that is currently running

This will be useful when the benchmark has many functions.
This commit is contained in:
Siddhesh Poyarekar 2013-04-03 13:32:37 +05:30
parent 64aabd4b80
commit 73e0cd5d0d
2 changed files with 3 additions and 0 deletions

View File

@ -1,5 +1,7 @@
2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
* Rules (bench): Echo currently running benchmark.
* benchtests/Makefile (bench): Add atan and slowatan.
* benchtests/atan-inputs: New file.
* benchtests/slowatan-inputs: New file.

1
Rules
View File

@ -201,6 +201,7 @@ bench: $(binaries-bench)
mv -f $(objpfx)bench.out $(objpfx)bench.out.old; \
fi
for run in $^; do \
echo "Running $${run}"; \
eval $(run-bench) >> $(objpfx)bench.out; \
done