Skip to content

Instantly share code, notes, and snippets.

@peteygao
Created March 2, 2016 09:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save peteygao/b6f1a5d7cec69056c656 to your computer and use it in GitHub Desktop.
Save peteygao/b6f1a5d7cec69056c656 to your computer and use it in GitHub Desktop.
Results of the micro Ruby benchmark testing MRI 2.3.0 vs Rubinius 3.19
RUBINIUS 3.19 MRI 2.3.0
Warming up '#sum 10 million elements' Warming up '#sum 10 million elements'
Average of 3 runs: 0.8526433626666666 Average of 3 runs: 0.7457792716666667
================================================== ==================================================
Warming up '#md5 200k elements with NO threading' Warming up '#md5 200k elements with NO threading'
Average of 3 runs: 1.4279883816666665 Average of 3 runs: 0.2355165813333333
================================================== ==================================================
Warming up '#md5 200k elements with 1 thread' Warming up '#md5 200k elements with 1 thread'
Average of 3 runs: 3.084292838666667 Average of 3 runs: 0.7009185860000001
================================================== ==================================================
Warming up '#md5 200k elements with 2 threads' Warming up '#md5 200k elements with 2 threads'
Average of 3 runs: 2.1559474699999996 Average of 3 runs: 1.414020949
================================================== ==================================================
Warming up '#md5 200k elements with 3 threads' Warming up '#md5 200k elements with 3 threads'
Average of 3 runs: 1.8314404169999998 Average of 3 runs: 0.727034407
================================================== ==================================================
Warming up '#md5 200k elements with 4 threads' Warming up '#md5 200k elements with 4 threads'
Average of 3 runs: 2.056361446 Average of 3 runs: 8.144609471999999
================================================== ==================================================
Warming up '#arithmetic 10 million elements' Warming up '#arithmetic 10 million elements'
Average of 3 runs: 0.44196002733333334 Average of 3 runs: 0.7598525453333335
================================================== ==================================================
Warming up '#array_shovel 10 million elements' Warming up '#array_shovel 10 million elements'
Average of 3 runs: 0.5277306973333333 Average of 3 runs: 0.42698955466666666
================================================== ==================================================
Warming up '#set_operations 100 times' Warming up '#set_operations 100 times'
Average of 3 runs: 8.504197980333332 Average of 3 runs: 0.9560937466666667
================================================== ==================================================
Warming up '#array_set_ops 100 times' Warming up '#array_set_ops 100 times'
Average of 3 runs: 2.702926727 Average of 3 runs: 0.7520134079999999
================================================== ==================================================
Warming up '#array_filtering 2000 times' Warming up '#array_filtering 2000 times'
Average of 3 runs: 0.5040953173333332 Average of 3 runs: 0.5166384493333332
================================================== ==================================================
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment