Skip to content

Instantly share code, notes, and snippets.

@rubychan
Created June 3, 2011 21:00
Show Gist options
  • Save rubychan/1007162 to your computer and use it in GitHub Desktop.
Save rubychan/1007162 to your computer and use it in GitHub Desktop.
StringScanner benchmarks on Rubinius
(built from rvm)
> rbx-head run multi-slice
rubinius 1.2.4dev (1.8.7 25a8922d yyyy-mm-dd JI) [x86_64-apple-darwin10.7.4]
user system total real
multi-slice: 4.837239 0.008982 4.846221 ( 9.869563)
Multi-Threaded: 3.0 MB in 5.12s = 0.6 MB/s @ 18 threads
Single-Threaded: 3.0 MB in 4.75s = 0.6 MB/s
(built from rvm)
> rbx-head-nhydra run multi-slice
rubinius 2.0.0dev (1.8.7 77994afa yyyy-mm-dd) [x86_64-apple-darwin10.7.3]
user system total real
multi-slice: 8.275003 0.009536 8.284539 ( 35.296655)
Multi-Threaded: 3.0 MB in 27.16s = 0.1 MB/s @ 18 threads
Single-Threaded: 3.0 MB in 8.14s = 0.4 MB/s
(built from repo, more recent)
22:58:24 ~/ruby/stringscanner-benchmarks:master ~/src/rubinius/bin/ruby run multi-slice
rubinius 2.0.0dev (1.8.7 5529d479 yyyy-mm-dd JI) [x86_64-apple-darwin10.7.4]
user system total real
multi-slice: 5.421498 0.009740 5.431238 ( 28.603881)
Multi-Threaded: 3.0 MB in 23.21s = 0.1 MB/s @ 18 threads
Single-Threaded: 3.0 MB in 5.39s = 0.6 MB/s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment