Skip to content

Commit 70ec3d9

Browse files
committed
modified bench utility script to run the micro benchmarks on core
1 parent e51db75 commit 70ec3d9

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

scripts/bench.sh

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -48,18 +48,18 @@ function info {
4848

4949
function bench-py-hotspot {
5050
info "benchmarking GRAALPYTHON with HOTSPOT"
51-
mx --dynamicimports /graal-enterprise benchmark micro-graalpython:* -- --python-vm graalpython --python-vm-config default --jvm server --jvm-config default
51+
mx --dynamicimports /compiler benchmark micro-graalpython:* -- --python-vm graalpython --python-vm-config default --jvm server --jvm-config default
5252
}
5353

5454
function bench-py-graal-core {
5555
info "benchmarking GRAALPYTHON with GRAAL-CORE"
56-
mx --dynamicimports /graal-enterprise benchmark micro-graalpython:* -- --python-vm graalpython --python-vm-config default --jvm server --jvm-config graal-core
56+
mx --dynamicimports /compiler benchmark micro-graalpython:* -- --python-vm graalpython --python-vm-config default --jvm server --jvm-config graal-core
5757
}
5858

59-
function bench-py-graal-enterprise {
60-
info "benchmarking GRAALPYTHON with GRAAL-ENTERPRISE"
61-
mx --dynamicimports /graal-enterprise benchmark micro-graalpython:* -- --python-vm graalpython --python-vm-config default --jvm server --jvm-config graal-enterprise
62-
}
59+
# function bench-py-graal-enterprise {
60+
# info "benchmarking GRAALPYTHON with GRAAL-ENTERPRISE"
61+
# mx --dynamicimports /compiler benchmark micro-graalpython:* -- --python-vm graalpython --python-vm-config default --jvm server --jvm-config graal-enterprise
62+
# }
6363

6464
function bench-cpython {
6565
info "benchmarking CPYTHON"
@@ -73,12 +73,11 @@ function bench-pypy {
7373

7474

7575

76-
echo "If you are running this script for the first time, you may consider setting up your local env with <setup_bench_local.sh>"
77-
78-
read -p "core, enterprise, hotspot, cpython, pypy? " vm
76+
# read -p "core, enterprise, hotspot, cpython, pypy? " vm
77+
read -p "core, hotspot, cpython, pypy? " vm
7978
case ${vm} in
8079
'core') bench-py-graal-core;;
81-
'enterprise') bench-py-graal-enterprise;;
80+
# 'enterprise') bench-py-graal-enterprise;;
8281
'hotspot') bench-py-hotspot;;
8382
'cpython') bench-cpython;;
8483
'pypy') bench-pypy;;

0 commit comments

Comments
 (0)