HowTo: MagLev RBS using rvm

1 view
Skip to first unread message

Monty Williams

unread,
Jul 19, 2010, 1:17:40 PM7/19/10
to MagLev Discussion
Antonio Cangiano published Ruby Benchmark Suite results for several
Ruby implementations today.
http://programmingzen.com/2010/07/19/the-great-ruby-shootout-july-2010/
http://github.com/acangiano/ruby-benchmark-suite
If you want to run these benchmarks on your copy of RBS and you use
rvm, here's what you need to know.

The rake gem doesn't fully work yet in MagLev, so it's best to control
the tests using MRI.
You should cd to your RBS benchmark directory first. Then execute the
following:

rvm use system
export MAGLEV_HOME=~/.rvm/rubies/maglev-23832 # location of your
MagLev version
export PATH=$MAGLEV_HOME/bin:$PATH
maglev start-
bench # write
tranlogs to /dev/null instead of disk
export VM=$MAGLEV_HOME/bin/maglev-ruby # use MagLev as
the VM under test
rake bench
rake bench:to_csv
maglev stop

Michael Latta

unread,
Jul 19, 2010, 1:21:06 PM7/19/10
to maglev-d...@googlegroups.com
Congrats on the showing MagLev had in the shootout.

Michael

> --
> You received this message because you are subscribed to the Google Groups "MagLev Discussion" group.
> To post to this group, send email to maglev-d...@googlegroups.com.
> To unsubscribe from this group, send email to maglev-discuss...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/maglev-discussion?hl=en.
>

Reply all
Reply to author
Forward
0 new messages