Mercurial > hg > truffle
comparison runscimark.sh @ 3175:2de2bff9dba6
decoupled code emitting order from linear scan order. align loops. reorder short loops. fixed linear scan order.
author | Thomas Wuerthinger <thomas@wuerthinger.net> |
---|---|
date | Wed, 06 Jul 2011 21:40:39 +0200 |
parents | 35fb2fef44f1 |
children | 344264424174 |
comparison
equal
deleted
inserted
replaced
3174:bef7921f8247 | 3175:2de2bff9dba6 |
---|---|
10 if [ -z "${GRAAL}" ]; then | 10 if [ -z "${GRAAL}" ]; then |
11 echo "GRAAL is not defined. It must point to a maxine repository directory." | 11 echo "GRAAL is not defined. It must point to a maxine repository directory." |
12 exit 1; | 12 exit 1; |
13 fi | 13 fi |
14 if [ -z "${SCIMARK}" ]; then | 14 if [ -z "${SCIMARK}" ]; then |
15 echo "SCIMARK is not defined. It must point to a SciMark benchmark jar." | 15 echo "SCIMARK is not defined. It must point to a directory with the SciMark benchmark jar." |
16 exit 1; | 16 exit 1; |
17 fi | 17 fi |
18 COUNT=$1 | 18 ${JDK7}/jre/bin/java -client -d64 -graal -Xms256m -Xmx512m -Xbootclasspath/a:${SCIMARK}/scimark2lib.jar $@ jnt.scimark2.commandline |
19 shift | |
20 if [ -z "${COUNT}" ]; then | |
21 COUNT=5000 | |
22 fi | |
23 for (( i = 1; i <= ${COUNT}; i++ )) ### Outer for loop ### | |
24 do | |
25 echo "$i " | |
26 ${JDK7}/jre/bin/java -client -d64 -graal -esa -ea -Xms32m -Xmx100m -Xbootclasspath/a:${SCIMARK} -G:+Time $@ jnt.scimark2.commandline | |
27 done |