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