Skip to content

Commit

Permalink
Use rbenv in benchmarks instead of rvm
Browse files Browse the repository at this point in the history
  • Loading branch information
gettalong committed May 7, 2020
1 parent 333f75f commit ef22876
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions benchmark/benchmark.sh
@@ -1,6 +1,6 @@
#!/bin/bash --login

RUBY_VERSIONS=`rvm list strings | sort`
RUBY_VERSIONS=`rbenv versions --bare | sort`
KD_VERSIONS="`git tag | sort -V` master"
OTHERS=false
AVERAGE=1
Expand Down Expand Up @@ -48,7 +48,7 @@ git clone .git ${TMPDIR}/kramdown
cd ${TMPDIR}/kramdown

for RUBY_VERSION in $RUBY_VERSIONS; do
rvm use $RUBY_VERSION
rbenv shell $RUBY_VERSION
echo "Creating benchmark data for $(ruby -v)"

for KD_VERSION in $KD_VERSIONS; do
Expand All @@ -68,5 +68,5 @@ for RUBY_VERSION in $RUBY_VERSIONS; do
done

cd ${TMPDIR}
rvm default
rbenv shell --unset
ruby generate_data.rb -g

0 comments on commit ef22876

Please sign in to comment.