I've pushed a couple updates to the rails tests that do the following
1) use sqlite instead of mysql
2) Removed external gem dependencies by removing require's and bunding
gems where possible.
All external dependencies are bundled for IronRuby, Jruby, and windows
MRI, but I wasn't sure if it was possible to bundle binary gems for
Linux, so you'll probably still need to install an sqlite3 adapter
(sqlite3-ruby gem).
2) added a test that does basically a "make test all" for the rails
project (substruct). Someone had mentioned they felt the existing
benchmarks were too superfluous. Running the tests exercises a good
chunk of the code, though, and seems a reasonable benchmark.
Unfortunately I couldn't trivially figure out a way to re-run all the
tests in the same process, so currently it does something like run
them once, then sleep 1/10th that length for each iteration. This way
is cross platform, if a bit annoying.
That's it. Let me know if it doesn't work for anybody.
MRI
$ rake bench:dir DIR=benchmarks/rails
JRUBY
$ rake bench:dir DIR=benchmarks/rails VM=jruby
IronRuby
$ rake bench:dir DIR=benchmarks/rails VM=ir
I didn't try with any other VM's, not having as easy of access, but it
might work with them.
Thanks.
-rp
--
The GitHub project is located at
http://github.com/acangiano/ruby-benchmark-suite
You received this message because you are subscribed to the Google
Groups "Ruby Benchmark Suite" group.
To post to this group, send email to
ruby-bench...@googlegroups.com
To unsubscribe from this group, send email to
ruby-benchmark-s...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/ruby-benchmark-suite?hl=en