Skip to content

Instantly share code, notes, and snippets.

@mtortonesi
Created June 19, 2020 20:41
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mtortonesi/2454b93fd836d20e00c1e8a705ad41ff to your computer and use it in GitHub Desktop.
Save mtortonesi/2454b93fd836d20e00c1e8a705ad41ff to your computer and use it in GitHub Desktop.
Profiling script for sisfc
#!/bin/sh
TIME_BASED_ID=$(date +%Y%m%d%H%M%S)
rbenv local jruby-9.2.11.1
export JRUBY_OPTS="-Xcompile.invokedynamic=true"
time bundle exec ./bin/sisfc examples/simulator.conf examples/vm_allocation.conf 2>&1 | tee log_sisfc_jruby_${TIME_BASED_ID}.txt
rbenv local 2.7.1
time bundle exec ./bin/sisfc examples/simulator.conf examples/vm_allocation.conf 2>&1 | tee log_sisfc_mri_${TIME_BASED_ID}.txt
rbenv local truffleruby-20.1.0
time bundle exec ./bin/sisfc examples/simulator.conf examples/vm_allocation.conf 2>&1 | tee log_sisfc_truffleruby_${TIME_BASED_ID}.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment