Sha256: 5734a0c5196e99b14a16754b50f997ec9f965d02aca49c46663f21d8a7cbf303

Contents?: true

Size: 549 Bytes

Versions: 2

Compression:

Stored size: 549 Bytes

Contents

#! /bin/bash --login

script_name=$1

declare -A RUBY_TO_ARG=( ["2.2"]="" [jruby]="" [jruby-9]="--server -Xcompile.invokedynamic=true -J-Xmx1500m" ["rbx-2.5.8"]="" [jruby-1]="" [1.9.3]="" )

for ruby in "${!RUBY_TO_ARG[@]}"
do
  echo Running $ruby with ${RUBY_TO_ARG[$ruby]}
  rvm use $ruby
  ruby -v
  ruby ${RUBY_TO_ARG[$ruby]} $script_name
  echo
  echo
done

rvm use 2.2@rubykon
echo Running truffle graal with enough heap space
jruby+truffle run --graal -- -e "puts RUBY_DESCRIPTION"
jruby+truffle run --graal -J-Xmx1500m $script_name
echo
echo

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rubykon-0.3.1 benchmark/benchmark.sh
rubykon-0.3.0 benchmark/benchmark.sh