我们的 test suite，前后对比。
正常运行：95.72s in-memory 运行：76.34s
正常运行：78.62s in-memory 运行：57.27s
Building 'ruby-1.9.3-p327-falcon' using clang - but it's not (fully) supported, expect errors. Installing Ruby from source to: /Users/roymax/.rvm/rubies/ruby-1.9.3-p327-falcon, this may take a while depending on your cpu(s)... ruby-1.9.3-p327-falcon - #downloading ruby-1.9.3-p327, this may take a while depending on your connection... ruby-1.9.3-p327-falcon - #extracting ruby-1.9.3-p327 to /Users/roymax/.rvm/src/ruby-1.9.3-p327-falcon ruby-1.9.3-p327-falcon - #extracted to /Users/roymax/.rvm/src/ruby-1.9.3-p327-falcon Applying patch /Users/roymax/.rvm/patches/ruby/1.9.3/p327/falcon.diff ruby-1.9.3-p327-falcon - #autoreconf Error running 'autoreconf', please read /Users/roymax/.rvm/log/ruby-1.9.3-p327-falcon/autoreconf.log ruby-1.9.3-p327-falcon - #configuring Error running './configure --enable-shared --disable-install-doc --prefix=/Users/roymax/.rvm/rubies/ruby-1.9.3-p327-falcon --with-opt-dir=/Users/roymax/.rvm/usr', please read /Users/roymax/.rvm/log/ruby-1.9.3-p327-falcon/configure.log There has been an error while running configure. Halting the installation. Ruby 'ruby-1.9.3-p327-falcon' was built using clang - but it's not (fully) supported, expect errors.
rvm get head && rvm install 1.9.3 1.9.3-p327-falcon --patch falcon -n falcon
$ time rails runner "puts :OK" OK rails runner "puts :OK" 6.32s user 1.37s system 92% cpu 8.292 total $ rvm use ruby-1.9.3-p327-falcon $ time rails runner "puts :OK" OK rails runner "puts :OK" 3.75s user 0.96s system 99% cpu 4.752 total $ export RUBY_HEAP_MIN_SLOTS=1000000 $ export RUBY_HEAP_FREE_MIN=500000 $ export RUBY_HEAP_SLOTS_INCREMENT=1000000 $ export RUBY_HEAP_SLOTS_GROWTH_FACTOR=1 $ export RUBY_GC_MALLOC_LIMIT=100000000 $ time rails runner "puts :OK" OK rails runner "puts :OK" 3.18s user 1.02s system 99% cpu 4.234 total