Skip to content
Snippets Groups Projects
Commit 26824450 authored by Wouter Deconinck's avatar Wouter Deconinck
Browse files

Time all steps for single benchmark

parent dd54b5d5
Branches
Tags
1 merge request!150Time all steps for single benchmark
......@@ -3,6 +3,7 @@
source $(dirname $0)/common.sh $*
# Analyze
/usr/bin/time -v \
root -l -b -q "benchmarks/single/analysis/analyze.cxx+(\"${JUGGLER_REC_FILE}\")"
if [[ "$?" -ne "0" ]] ; then
echo "ERROR analysis failed"
......
......@@ -7,6 +7,7 @@ for rec in options/*.py ; do
unset tag
[[ $(basename ${rec} .py) =~ (.*)\.(.*) ]] && tag=".${BASH_REMATCH[2]}"
JUGGLER_REC_FILE=${JUGGLER_REC_FILE/.root/${tag:-}.root} \
/usr/bin/time -v \
gaudirun.py ${JUGGLER_GAUDI_OPTIONS:-} ${rec}
if [[ "$?" -ne "0" ]] ; then
echo "ERROR running juggler"
......
......@@ -3,6 +3,7 @@
source $(dirname $0)/common.sh $*
# Simulate
/usr/bin/time -v \
ddsim --runType run \
--printLevel WARNING \
--enableGun \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment