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.7p302 124 124
MRI 1.9.2p0 153 162
JRuby 1.5.2 64-Bit Server 97 173
Rubinius 1.0.1 2010-06-03 46 62

1.0.0 (revision 646)

Score: 144

Ruby version First Run Best of 5
MRI 1.8.7p302 174 177
MRI 1.9.2p0 218 234
JRuby 1.5.2 64-Bit Server 110 269
Rubinius 1.0.1 2010-06-03 62 102