I wonder how it compares with macruby (except, not having a mac, I'm
not the one that can do the benchmark :) )
Anybody up for it? Does macruby run rails/sinatra?
-rp
[1] http://www.infoq.com/news/2010/01/ruby-vm-roundup-rubinius-dtrace
I wonder how it compares with macruby (except, not having a mac, I'm
not the one that can do the benchmark :) )
Anybody up for it?
There's a (second) README buried in the rails folder--I can move it
into main. The rdoc benchmark "should" run as is on any platform,
being only ruby.
-r
There's a (second) README buried in the rails folder--I can move it
into main.
Hmm. I think there was a README once but I don't see it now anywhere.
Maybe got lost in one of the refactors.
Anyway here's the list for MRI
gem install mysql
gem install RedCloth
gem install fastercsv
gem install mime-types
gem install mini_magick
gem install ezcrypto
I will probably get around to updating it for jruby sometime, which
would add activerecord-jdbcmysql-adapter and possibly some others.
I "guess" rubinius would be the same as MRI, but haven't tried it.
-r
Anyway here's the list for MRI
gem install mysql
gem install RedCloth
gem install fastercsv
gem install mime-types
gem install mini_magick
gem install ezcrypto
Let's see...RedCloth has a pure ruby version, fastercsv, mime-types,
mini_magick and ezcrypto are all pure ruby, if that helps any.
-=r
1. Stub out any calls to "gem foo" and "require foo" for the gems since most are not needed in the code paths exercised by the benchmarks. Only RedCloth is actually exercised. Ofcourse, you could argue that the benchmarks are simplistic since they are not currently exercising all parts of the Rails app - they mainly just request the root page, or just talk directly with the database via ActiveRecord. Instead, they should simulate a real workload.
2. Stub out the one use of RedCloth which converts markdown to html, and just return the markdown. The webpage look ugly, but does not matter for the benchmarks.
3. Modify database.yml to use SQLServer or SQLite3 since there is no MySQL adapter for IronRuby yet, and it was easier for me to configure SQLite3 even for MRI.
4. Modify schema.rb (I think) to remove MySQLisms. For example, SQLite does not allow multiple indexes (even across different tables) to have the same name.
I am OOF now, but can send the patch later for your reference.
--
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
Maybe somebody can give you write access, too
(github username shri)
Maybe somebody can give you write access, too
Well...if it makes it easier to test then we might as well stub them all out :)
Another option would be to "bundle" a pure ruby RedCloth, like 3.0.4
-r
Well...if it makes it easier to test then we might as well stub them all out :)
Another option would be to "bundle" a pure ruby RedCloth, like 3.0.4