Revisions
-
mattetti revised this gist
Oct 11, 2012 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,5 @@ build_package_combined_patch() { local package_name="$1" { autoconf @@ -13,4 +13,4 @@ build_package_combined_patch() { install_package "yaml-0.1.4" "http://pyyaml.org/download/libyaml/yaml-0.1.4.tar.gz" # You can see the source for this package at https://github.com/burke/ruby/commits/work install_package "build" "http://cloud.github.com/downloads/burke/ruby/ruby-1.9.3-p194-perf-dtrace.tar.gz" combined_patch -
mattetti revised this gist
Oct 11, 2012 . 3 changed files with 3 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -22,7 +22,7 @@ You will also need a C Compiler. If you're on Linux, you probably already have o ### Ok, let's do this! ```sh 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. This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,5 @@ build_package_combined_patch() { local package_name="1.9.3-p194-perf-dtrace" { autoconf This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,3 @@ VERSION="1.9.3-p194" curl https://raw.github.com/gist/3874482/2-$VERSION-patched.sh > /tmp/$VERSION-dtrace rbenv install /tmp/$VERSION-dtrace -
burke revised this gist
Sep 30, 2012 . 1 changed file with 3 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -23,4 +23,6 @@ You will also need a C Compiler. If you're on Linux, you probably already have o ```sh curl https://raw.github.com/gist/3808235/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. -
burke revised this gist
Sep 30, 2012 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -12,4 +12,5 @@ build_package_combined_patch() { } install_package "yaml-0.1.4" "http://pyyaml.org/download/libyaml/yaml-0.1.4.tar.gz" # You can see the source for this package at https://github.com/burke/ruby/commits/work install_package "ruby-1.9.3-p194-perf-dtrace" "http://cloud.github.com/downloads/burke/ruby/ruby-1.9.3-p194-perf-dtrace.tar.gz" combined_patch -
burke revised this gist
Sep 30, 2012 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -12,4 +12,4 @@ build_package_combined_patch() { } install_package "yaml-0.1.4" "http://pyyaml.org/download/libyaml/yaml-0.1.4.tar.gz" install_package "ruby-1.9.3-p194-perf-dtrace" "http://cloud.github.com/downloads/burke/ruby/ruby-1.9.3-p194-perf-dtrace.tar.gz" combined_patch -
burke revised this gist
Sep 30, 2012 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,8 +2,9 @@ build_package_combined_patch() { local package_name="$1" { autoconf ./configure --prefix="$PREFIX_PATH" $CONFIGURE_OPTS make probes.h make -j 8 make install } >&4 2>&1 -
burke revised this gist
Sep 30, 2012 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -11,4 +11,4 @@ build_package_combined_patch() { } install_package "yaml-0.1.4" "http://pyyaml.org/download/libyaml/yaml-0.1.4.tar.gz" install_package "ruby-1.9.3-p194-perf-dtrace" "https://github.com/downloads/burke/ruby/ruby-1.9.3-p194-perf-dtrace.tar.gz" combined_patch -
burke revised this gist
Sep 30, 2012 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -11,4 +11,4 @@ build_package_combined_patch() { } install_package "yaml-0.1.4" "http://pyyaml.org/download/libyaml/yaml-0.1.4.tar.gz" install_package "ruby-1.9.3-p194" "https://github.com/downloads/burke/ruby/ruby-1.9.3-p194-perf-dtrace.tar.gz" combined_patch -
burke revised this gist
Sep 30, 2012 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -22,5 +22,5 @@ You will also need a C Compiler. If you're on Linux, you probably already have o ### Ok, let's do this! ```sh curl https://raw.github.com/gist/3808235/rbenv.sh | sh ; rbenv global 1.9.3-p194-dtrace ``` -
burke revised this gist
Sep 30, 2012 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ # Ruby 1.9.3-p194 with DTrace probes, Perf Patches, and backported COW-friendly GC ### Overview -
burke revised this gist
Sep 30, 2012 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ # Ruby 1.9.3-p194 with DTrace, Perf Patches, and backported COW-friendly GC ### Overview -
burke revised this gist
Sep 30, 2012 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -22,5 +22,5 @@ You will also need a C Compiler. If you're on Linux, you probably already have o ### Ok, let's do this! ```sh curl https://raw.github.com/gist/3808235/rbenv.sh | sh ; rbenv global 1.9.3-p194-perf ``` -
burke revised this gist
Sep 30, 2012 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,3 @@ VERSION="1.9.3-p194" curl https://raw.github.com/gist/3808235/2-$VERSION-patched.sh > /tmp/$VERSION-dtrace rbenv install /tmp/$VERSION-dtrace -
burke created this gist
Sep 30, 2012 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,26 @@ # Patched ruby 1.9.3-p194 for 30% faster rails boot ### Overview 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 ### Requirements * [rbenv](https://github.com/sstephenson/rbenv/) * [ruby-build](https://github.com/sstephenson/ruby-build/) 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](http://github.com/mxcl/homebrew). ### Ok, let's do this! ```sh curl https://raw.github.com/gist/1688857/rbenv.sh | sh ; rbenv global 1.9.3-p194-perf ``` This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,14 @@ build_package_combined_patch() { local package_name="$1" { make probes.h ./configure --prefix="$PREFIX_PATH" $CONFIGURE_OPTS make -j 8 make install } >&4 2>&1 } install_package "yaml-0.1.4" "http://pyyaml.org/download/libyaml/yaml-0.1.4.tar.gz" install_package "ruby-1.9.3-p194" "https://github.com/downloads/burke/ruby/ruby-1.9.3-p194-perf-dtrace.tgz" combined_patch This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,3 @@ VERSION="1.9.3-p194" curl https://raw.github.com/gist/1688857/2-$VERSION-patched.sh > /tmp/$VERSION-perf rbenv install /tmp/$VERSION-dtrace