Skip to content
Nathan Youngman edited this page Oct 27, 2012 · 1 revision

Values in kTok/s (1000 Tokens per second)

Score := ∑ of all values (except Rubinius), best results (in bold) doubled / 11.58 (base value for 0.9.4 := 100)

Setup

iMac 2.8 GHz Intel Core i7, 4 GB 1067 MHz DDR3

ruby -w -Ilib bench/bench.rb ruby div 1000 (Ruby scanner, HTML encoder with CSS classes and no line numbers, 1MB)

0.9.4

Score: 100

Ruby version First Run Best of 5
MRI 1.8.7p302124124
MRI 1.9.2p0153162
JRuby 1.5.2 64-Bit Server97173
Rubinius 1.0.1 2010-06-034662

1.0.0 (revision 646)

Score: 144

Ruby version First Run Best of 5
MRI 1.8.7p302174177
MRI 1.9.2p0218234
JRuby 1.5.2 64-Bit Server110269
Rubinius 1.0.1 2010-06-0362102

Clone this wiki locally