From 560bf53f42fd8ba47c05af49ca8d53a41bc37d0e Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sat, 7 Nov 2015 20:24:24 -0500 Subject: [PATCH] Performance: Script now allows overrides, for comparison --- .gitignore | 1 + performance/run_perf | 8 +++++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index e99a06009..3ba2ade24 100644 --- a/.gitignore +++ b/.gitignore @@ -18,3 +18,4 @@ CPackConfig.cmake CPackSourceConfig.cmake patches *.exe +tutorials diff --git a/performance/run_perf b/performance/run_perf index c0c5d4bdb..4b6dc5a9d 100755 --- a/performance/run_perf +++ b/performance/run_perf @@ -13,9 +13,11 @@ else cp *.data perf.rc data fi -#TASK=/usr/local/bin/tw244 -#TASK=/usr/local/bin/tw250b1 -TASK=../src/task +# Allow override. +if [[ -z $TASK ]] +then + TASK=../src/task +fi # Run benchmarks. # Note that commands are run twice - warm cache testing.