-
-
Save ritxi/4227628 to your computer and use it in GitHub Desktop.
Revisions
-
burke revised this gist
Nov 27, 2012 . 1 changed file with 7 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 @@ -17,11 +17,17 @@ curl https://raw.github.com/gist/1688857/rbenv.sh | sh ; rbenv global 1.9.3-p327 ### BONUS! Putting the following in your shell config (eg. `~/.bash_profile`) will make Rails even faster, but will increase its memory footprint. For most applications, this will probably work well for you: export RUBY_GC_MALLOC_LIMIT=60000000 export RUBY_FREE_MIN=200000 If you have a particularly large rails app (say, >100k lines), this seems to improve it even more: export RUBY_GC_MALLOC_LIMIT=1000000000 export RUBY_FREE_MIN=500000 export RUBY_HEAP_MIN_SLOTS=40000 ### More BONUS! If you're feeling adventurous, you can set some additional compile flags before you run the command above. These may cause the build to fail. If so, you can try again without the `march` flag, and it'll probably work. **This generally makes my ruby ~1.5% faster**. See http://en.gentoo-wiki.com/wiki/Safe_Cflags/Intel for more guidance. I had to change it to `-march=core2` on my Macbook Air 2011/11". -
burke revised this gist
Nov 27, 2012 . 1 changed file with 2 additions and 5 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 @@ -19,11 +19,8 @@ curl https://raw.github.com/gist/1688857/rbenv.sh | sh ; rbenv global 1.9.3-p327 Putting the following in your shell config (eg. `~/.bash_profile`) will make Rails even faster, but will increase its memory footprint: export RUBY_GC_MALLOC_LIMIT=60000000 export RUBY_FREE_MIN=200000 ### More BONUS! -
burke revised this gist
Nov 23, 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-p327 cumulative performance patch for rbenv This installs a patched ruby 1.9.3-p327 with various performance improvements and a backported COW-friendly GC, all [courtesy of funny-falcon](https://gist.github.com/4136373). -
burke revised this gist
Nov 23, 2012 . 1 changed file with 0 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,7 +1,5 @@ # Patched ruby 1.9.3-p327 for 30% faster rails boot This installs a patched ruby 1.9.3-p327 with various performance improvements and a backported COW-friendly GC, all [courtesy of funny-falcon](https://gist.github.com/4136373). ### Requirements -
burke revised this gist
Nov 23, 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 @@ -31,4 +31,6 @@ Putting the following in your shell config (eg. `~/.bash_profile`) will make Rai If you're feeling adventurous, you can set some additional compile flags before you run the command above. These may cause the build to fail. If so, you can try again without the `march` flag, and it'll probably work. **This generally makes my ruby ~1.5% faster**. See http://en.gentoo-wiki.com/wiki/Safe_Cflags/Intel for more guidance. I had to change it to `-march=core2` on my Macbook Air 2011/11". export CFLAGS="-march=native -O3 -pipe -fomit-frame-pointer" This has to be run *BEFORE* you compile ruby. -
burke revised this gist
Nov 23, 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 @@ -29,6 +29,6 @@ Putting the following in your shell config (eg. `~/.bash_profile`) will make Rai ### More BONUS! If you're feeling adventurous, you can set some additional compile flags before you run the command above. These may cause the build to fail. If so, you can try again without the `march` flag, and it'll probably work. **This generally makes my ruby ~1.5% faster**. See http://en.gentoo-wiki.com/wiki/Safe_Cflags/Intel for more guidance. I had to change it to `-march=core2` on my Macbook Air 2011/11". export CFLAGS="-march=native -O3 -pipe -fomit-frame-pointer" -
burke revised this gist
Nov 23, 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 @@ -29,6 +29,6 @@ Putting the following in your shell config (eg. `~/.bash_profile`) will make Rai ### More BONUS! If you're feeling adventurous, you can set some additional compile flags before you run the command above. These may cause the build to fail. If so, you can try again without the `march` flag, and it'll probably work. *This generally makes my ruby ~1.5% faster*. See http://en.gentoo-wiki.com/wiki/Safe_Cflags/Intel for more guidance. I had to change it to `-march=core2` on my Macbook Air 2011/11". export CFLAGS="-march=native -O3 -pipe -fomit-frame-pointer" -
burke revised this gist
Nov 23, 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 @@ -2,7 +2,7 @@ ### Overview This installs a patched ruby 1.9.3-p327 with various performance improvements and a backported COW-friendly GC, all [courtesy of funny-falcon](https://gist.github.com/4136373). ### Requirements -
burke revised this gist
Nov 23, 2012 . 1 changed file with 1 addition and 8 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 @@ -2,14 +2,7 @@ ### Overview This script installs a patched version of ruby 1.9.3-p327 with various performance improvements and a backported COW-friendly GC, all [courtesy of funny-falcon](https://gist.github.com/4136373). ### Requirements -
burke revised this gist
Nov 23, 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 @@ -36,6 +36,6 @@ Putting the following in your shell config (eg. `~/.bash_profile`) will make Rai ### More BONUS! If you're feeling adventurous, you can set some additional compile flags before you run the command above. These may cause the build to fail. If so, you can try again without the `march` flag, and it'll probably work. This generally makes my ruby ~1-1.5% faster. See http://en.gentoo-wiki.com/wiki/Safe_Cflags/Intel for more guidance. I had to change it to `-march=core2` on my Macbook Air 2011/11". export CFLAGS="-march=native -O3 -pipe -fomit-frame-pointer" -
burke revised this gist
Nov 23, 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 @@ -36,6 +36,6 @@ Putting the following in your shell config (eg. `~/.bash_profile`) will make Rai ### More BONUS! If you're feeling adventurous, you can set some additional compile flags before you run the command above. These may cause the build to fail. If so, you can try again without the `march` flag, and it'll probably work. This generally makes my ruby ~1-1.5% faster. See http://en.gentoo-wiki.com/wiki/Safe_Cflags/Intel for more guidance. export CFLAGS="-march=native -O3 -pipe -fomit-frame-pointer" -
burke revised this gist
Nov 23, 2012 . 1 changed file with 1 addition 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 @@ -36,7 +36,6 @@ Putting the following in your shell config (eg. `~/.bash_profile`) will make Rai ### More BONUS! If you're feeling adventurous, you can set some additional compile flags before you run the command above. These may cause the build to fail. If so, you can try again without the `march` flag, and it'll probably work. This generally makes my ruby ~1-1.5% faster. export CFLAGS="-march=native -O3 -pipe -fomit-frame-pointer" -
burke revised this gist
Nov 23, 2012 . 1 changed file with 0 additions and 12 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 @@ -16,26 +16,14 @@ Many thanks to funny-falcon for the performance patches. * [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-p327-perf ``` ### BONUS! Putting the following in your shell config (eg. `~/.bash_profile`) will make Rails even faster, but will increase its memory footprint: -
burke revised this gist
Nov 23, 2012 . 1 changed file with 6 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 @@ -46,4 +46,9 @@ Putting the following in your shell config (eg. `~/.bash_profile`) will make Rai export RUBY_GC_MALLOC_LIMIT=100000000 export RUBY_HEAP_FREE_MIN=500000 ### More BONUS! If you're feeling adventurous, you can set some additional optimization flags before you run the command above. These make the compiled ruby a little faster, but sometimes cause the build to fail, depending on a lot of different factors. export CFLAGS="-march=native -O3 -pipe -fomit-frame-pointer" -
burke renamed this gist
Nov 23, 2012 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
burke revised this gist
Nov 23, 2012 . 3 changed files with 6 additions and 6 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,8 +1,8 @@ # Patched ruby 1.9.3-p327 for 30% faster rails boot ### Overview This script installs a patched version of ruby 1.9.3-p327 with 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. @@ -27,7 +27,7 @@ You will also need a C Compiler. If you're on Linux, you probably already have o If you're using **rbenv**: ```sh curl https://raw.github.com/gist/1688857/rbenv.sh | sh ; rbenv global 1.9.3-p327-perf ``` If you're using **rvm**: 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,7 +2,7 @@ build_package_combined_patch() { local package_name="$1" { curl https://raw.github.com/gist/4136373/falcon-gc.diff | patch -p1 autoconf ./configure --prefix="$PREFIX_PATH" $CONFIGURE_OPTS make -j 8 @@ -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-p327" "http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p327.tar.gz" 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 @@ -1,3 +1,3 @@ VERSION="1.9.3-p327" curl https://raw.github.com/gist/1688857/2-$VERSION-patched.sh > /tmp/$VERSION-perf rbenv install /tmp/$VERSION-perf -
burke revised this gist
Aug 22, 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 @@ -43,7 +43,7 @@ Putting the following in your shell config (eg. `~/.bash_profile`) will make Rai export RUBY_HEAP_MIN_SLOTS=1000000 export RUBY_HEAP_SLOTS_INCREMENT=1000000 export RUBY_HEAP_SLOTS_GROWTH_FACTOR=1 export RUBY_GC_MALLOC_LIMIT=100000000 export RUBY_HEAP_FREE_MIN=500000 Also, you might want to try out [Zeus](https://github.com/burke/zeus), which takes advantage of the patched GC to preload your rails app. It can effectively boot your tests (and consoles, servers, runners...) in half a second, no matter the size of your app. -
burke revised this gist
Aug 22, 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 @@ -20,7 +20,7 @@ OR * [rvm](https://github.com/wayneeseguin/rvm/) 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! -
burke revised this gist
Aug 22, 2012 . 2 changed files 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 @@ -20,6 +20,8 @@ OR * [rvm](https://github.com/wayneeseguin/rvm/) 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! If you're using **rbenv**: 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,6 +11,5 @@ 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" "http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p194.tar.gz" combined_patch -
burke revised this gist
Aug 11, 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 @@ -44,4 +44,4 @@ Putting the following in your shell config (eg. `~/.bash_profile`) will make Rai export RUBY_GC_MALLOC_LIMIT=1000000000 export RUBY_HEAP_FREE_MIN=500000 Also, you might want to try out [Zeus](https://github.com/burke/zeus), which takes advantage of the patched GC to preload your rails app. It can effectively boot your tests (and consoles, servers, runners...) in half a second, no matter the size of your app. -
burke revised this gist
Aug 11, 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 @@ -20,7 +20,7 @@ OR * [rvm](https://github.com/wayneeseguin/rvm/) ### Ok, let's do this! If you're using **rbenv**: -
burke revised this gist
Aug 11, 2012 . 1 changed file 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 @@ -1,6 +1,6 @@ # 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 boot-time performance improvements (#66 and #68), and runtime performance improvements (#83 and #84). It also includes the new backported GC from ruby-trunk. @@ -11,7 +11,7 @@ Many thanks to funny-falcon for the performance patches. * 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/) @@ -20,7 +20,7 @@ OR * [rvm](https://github.com/wayneeseguin/rvm/) ### Ok, let's do this If you're using **rbenv**: -
burke revised this gist
Aug 11, 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 @@ -25,7 +25,7 @@ OR If you're using **rbenv**: ```sh curl https://raw.github.com/gist/1688857/rbenv.sh | sh ; rbenv global 1.9.3-p194-perf ``` If you're using **rvm**: -
burke revised this gist
Aug 11, 2012 . 1 changed file with 4 additions and 4 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 @@ -13,12 +13,12 @@ Many thanks to funny-falcon for the performance patches. ### What I need? * [rbenv](https://github.com/sstephenson/rbenv/) * [ruby-build](https://github.com/sstephenson/ruby-build/) OR * [rvm](https://github.com/wayneeseguin/rvm/) ### How do I do? @@ -44,4 +44,4 @@ Putting the following in your shell config (eg. `~/.bash_profile`) will make Rai export RUBY_GC_MALLOC_LIMIT=1000000000 export RUBY_HEAP_FREE_MIN=500000 Also, you might want to try out [Zeus](https://github.com/burke/zeus), which takes advantage of the patched GC to preload your rails app. -
burke revised this gist
Aug 11, 2012 . 1 changed file with 0 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 @@ -6,7 +6,6 @@ This script installs a patched version of ruby 1.9.3-p194 with boot-time perform Many thanks to funny-falcon for the performance patches. * http://github.com/ruby/ruby/pull/66 * http://github.com/ruby/ruby/pull/68 * http://github.com/ruby/ruby/pull/83 -
burke revised this gist
Aug 11, 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 @@ # Patched ruby 1.9.3-p194 for 30% faster rails boot ### What is? -
burke revised this gist
Aug 11, 2012 . 3 changed files with 12 additions and 11 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 @@ -2,9 +2,9 @@ ### What is? This script installs a patched version of ruby 1.9.3-p194 with 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. * http://github.com/ruby/ruby/pull/47 * http://github.com/ruby/ruby/pull/66 @@ -17,7 +17,7 @@ Huge thanks to funny-falcon for the performance patches. * rbenv * ruby-build OR * rvm @@ -26,13 +26,13 @@ OR If you're using **rbenv**: ```sh curl https://raw.github.com/gist/1688857/rbenv.sh | sh && rbenv global 1.9.3-p194-perf ``` If you're using **rvm**: ```sh rvm get head && rvm reinstall 1.9.3-perf --patch falcon --force-autoconf -j 3 ``` ### BONUS! @@ -43,4 +43,6 @@ Putting the following in your shell config (eg. `~/.bash_profile`) will make Rai export RUBY_HEAP_SLOTS_INCREMENT=1000000 export RUBY_HEAP_SLOTS_GROWTH_FACTOR=1 export RUBY_GC_MALLOC_LIMIT=1000000000 export RUBY_HEAP_FREE_MIN=500000 Also, you might want to try out [Zeus](https://github.com/burke/zeus), which takes advantage of the patched GC to preload your rails app. 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,7 @@ build_package_combined_patch() { local package_name="$1" { curl https://raw.github.com/gist/2593385/perf_and_gc.diff | patch -p1 autoconf ./configure --prefix="$PREFIX_PATH" $CONFIGURE_OPTS make -j 8 @@ -14,4 +13,4 @@ build_package_combined_patch() { require_gcc install_package "yaml-0.1.4" "http://pyyaml.org/download/libyaml/yaml-0.1.4.tar.gz" install_package "ruby-1.9.3-p194" "http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p194.tar.gz" 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 @@ -1,3 +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-perf -
Burke Libbey revised this gist
Mar 8, 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 @@ -26,7 +26,7 @@ OR If you're using **rbenv**: ```sh curl https://raw.github.com/gist/1688857/rbenv.sh | sh && rbenv global 1.9.3-p125-perf ``` If you're using **rvm**: -
Burke Libbey revised this gist
Mar 7, 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 @@ -32,7 +32,7 @@ curl https://raw.github.com/gist/1688857/rbenv.sh | sh If you're using **rvm**: ```sh rvm get head && rvm reinstall 1.9.3-perf --patch falcon,debug --force-autoconf -j 3 ``` ### BONUS! @@ -43,4 +43,4 @@ Putting the following in your shell config (eg. `~/.bash_profile`) will make Rai export RUBY_HEAP_SLOTS_INCREMENT=1000000 export RUBY_HEAP_SLOTS_GROWTH_FACTOR=1 export RUBY_GC_MALLOC_LIMIT=1000000000 export RUBY_HEAP_FREE_MIN=500000 -
Burke Libbey revised this gist
Mar 7, 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 @@ -2,6 +2,7 @@ build_package_combined_patch() { local package_name="$1" { curl https://github.com/ruby/ruby/pull/47.diff | git apply curl https://raw.github.com/gist/1859082/performance_and_backport_gc.patch | patch -p1 autoconf ./configure --prefix="$PREFIX_PATH" $CONFIGURE_OPTS
NewerOlder