This script installs a patched version of ruby 1.9.3-p194 with DTrace probes, boot-time performance improvements (#66 and #68), and runtime performance improvements (#83 and #84). It also includes the new backported GC from ruby-trunk.
Many thanks to funny-falcon for the performance patches and to Aaron Patterson for the DTrace instrumentation.
- http://github.com/tenderlove/ruby/tree/probes
- http://github.com/ruby/ruby/pull/66
- http://github.com/ruby/ruby/pull/68
- http://github.com/ruby/ruby/pull/83
- http://github.com/ruby/ruby/pull/84
You will also need a C Compiler. If you're on Linux, you probably already have one or know how to install one. On OS X, you should install XCode, and brew install autoconf
using homebrew.
curl https://raw.github.com/gist/3874482/rbenv.sh | sh ; rbenv global 1.9.3-p194-dtrace
Warning: ruby*::vm_exec_core:function-*
seem to be broken, causing SystemStackError
s in the ruby process you instrument.