summaryrefslogtreecommitdiff
path: root/tests/scripts
diff options
context:
space:
mode:
authorMichelle McDaniel <adiaaida@gmail.com>2017-09-12 09:56:30 -0700
committerMichelle McDaniel <adiaaida@gmail.com>2017-09-12 09:56:30 -0700
commit998b6ea2247b087481ae35eef0b813b117fbb2de (patch)
treec2a3eaf8ef74d05968b92bf34e355c940c5b09a4 /tests/scripts
parente75f090a379da4d1f6016b2c73922387cc84e420 (diff)
downloadcoreclr-998b6ea2247b087481ae35eef0b813b117fbb2de.tar.gz
coreclr-998b6ea2247b087481ae35eef0b813b117fbb2de.tar.bz2
coreclr-998b6ea2247b087481ae35eef0b813b117fbb2de.zip
Add OptLevel and JitName configurations
To unify the configuration names in benchview, add OptLevel and JitName configurations in run-xunit-perf.sh. This change does not add min_opts to perf.groovy.
Diffstat (limited to 'tests/scripts')
-rwxr-xr-xtests/scripts/run-xunit-perf.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/scripts/run-xunit-perf.sh b/tests/scripts/run-xunit-perf.sh
index 8a5480a775..c6700f4bba 100755
--- a/tests/scripts/run-xunit-perf.sh
+++ b/tests/scripts/run-xunit-perf.sh
@@ -219,6 +219,7 @@ coreFxBinDir=
uploadToBenchview=
benchViewOS=`lsb_release -i -s``lsb_release -r -s`
runType=local
+optLevel=full_opt
BENCHVIEW_TOOLS_PATH=
benchViewGroup=CoreCLR
perfCollection=
@@ -258,6 +259,9 @@ do
--runType=*)
runType=${i#*=}
;;
+ --optLevel=*)
+ optLevel=${i#*=}
+ ;;
--collectionflags=*)
collectionflags=${i#*=}
;;
@@ -315,6 +319,11 @@ if [ ! -d "$benchmarksOutputDir" ]; then
mkdir -p "$benchmarksOutputDir" || { echo "Failed to delete $benchmarksOutputDir"; exit 1; }
fi
+# Set minopts
+if ["$optLevel" == "min_opt"]; then
+ export COMPlus_JITMinOpts=1
+fi
+
cd $CORE_ROOT
DO_SETUP=TRUE
@@ -377,6 +386,8 @@ if [ -d "$BENCHVIEW_TOOLS_PATH" ]; then
args+=" --config Configuration Release"
args+=" --config OS $benchViewOS"
args+=" --config Profile $perfCollection"
+ args+=" --config JitName ryujit"
+ args+=" --config OptLevel $optLevel"
args+=" --architecture x64"
args+=" --machinepool Perfsnake"
run_command python3.5 "$BENCHVIEW_TOOLS_PATH/submission.py" $args || {