22 Nov '12, 12pm

“Ruby を 1.9.3 p327 から 2.0.0 dev に上げたら rails の起動時間が2.5倍速、rake spec の速度が1.8倍速になった - #生存戦略 、それは - subtech”

Ruby を 1.9.3 p327 から 2.0.0 dev に上げたら Rails の起動時間が2.5倍速、rake spec の速度が1.8倍速になった 21:05 | 流しのフェロー が Ruby 2.0.0 速いって言ってたので、いやいや速いっていっても〜、と思って社内の Ruby 1.9.3 な Rails プロジェクトで 2.0.0dev 使ってみたら 1.9.3 [5]>_<X time bx rails runner 'puts Rails' Rails bundle exec rails runner 'puts Rails' 6.24s user 1.06s system 86% cpu 8.396 total 2.0.0dev [5]>_<X rvm use ruby-head Using /Users/yuichi-tateno/.rvm/gems/ruby-head [5]>_<X time bx rails runner 'puts Rails' Rails bundle exec rails runner 'puts Rails' 2.51s user 0.61s system 93% cpu 3.343 total な感じで、Rails の環境ロードして立ち上げが 8.3 秒 -> 3.3秒 になって 2.5倍やばい!!!!って感じに!!1 require が高速化したから、ライブラリたくさん読み込むプロジェクトはかなり速くなるらしい。 また、rake spec の速度も unit test / functional test メインのプロジェクトで # ruby 1.9.3 Finished in 49.18 seconds bundle exec rake spec 59.51s user 3.54s system 89% cpu 1:10.50 total の spec 時間49秒、その他もろもろ含めて70秒から # ruby 2.0.0dev Finished in 28.53 seconds bun...

Full article: http://subtech.g.hatena.ne.jp/secondlife/20121122/1353585959

Tweets

Ruby 2 and Rails 4 // Speaker Deck

speakerdeck.com 21 Nov '12, 4pm

Akira Matsuda 8 Presentations Sign in to Like 5 Fans Published in Programming Stats 181 Views Share Twitter, Facebook Embe...

「asakusa.rb というモヒカンが斧持って集まってる集会があるので参加すると良い」 / ...

subtech.g.hatena.ne.jp 25 Nov '12, 3am

他に webmock(HTTP stub), FactoryGirl( fixture replacement ), timecop (時刻操作), rr (mock, stub, double, spy ...), capybara (end...

Install Ruby 2.0.0 Preview 1 + Rails 4.0.0 beta...

qiita.com 22 Nov '12, 6pm

$ brew install rbenv $ brew install ruby-build $ echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.zshenv $ echo 'eval "$(...

link: Ruby 2.0 & Rails 4.0 #webcat - by shigemk2

d.hatena.ne.jp 21 Nov '12, 11am

Meet the people (=the community) and say "Hi!" to them! <3 <3 <3

This Week in Ruby: Ruby 2.0 Refinements, Cost o...

rubyinside.com 23 Nov '12, 4pm

This Week in Ruby: Ruby 2.0 Refinements, Cost of GC::Profiler, and BritRuby Cancelled By Peter Cooper / November 23, 2012 ...

Ruby on Rails Web Developer - MY DEV TEAM, PT: ...

id.jobsdb.com 26 Nov '12, 10am

MyDevTeam are inviting qualified individuals to join our team for the following available position. Ruby on Rails Web Deve...

#ruby Versão atual do Rake: 10!: Rake é a ferramenta de automatização de tarefas do mundo Ruby. Recentemente (e...

#ruby Versão atual do Rake: 10!: Rake é a ferra...

rubyinside.com.br 23 Nov '12, 5pm

Rake é a ferramenta de automatização de tarefas do mundo Ruby. Recentemente (em 14 de novembro) foi lançada a versão 10.0....

[event][ruby]Ruby 2.0 & Rails 4.0先取りセミナー #webca...

d.hatena.ne.jp 25 Nov '12, 3am

3 http://www.google.co.jp/url?sa=t&rct=j&q=&esrc=s&source=web&cd=14&ved=0CFAQFjADOAo&url=http://d.hatena.ne.jp/t-horikiri/...

So… you’re new to Ruby! #dev

rubylearning.com 02 Dec '12, 3pm

In a nutshell, Ruby is an extremely high-level programming language created in Japan by Yukihiro “Matz” Matsumoto almost 2...

わかりやすい。 / “rvm 入門 … 複数バージョンの Ruby と Rails を混在させる - まちゅダイアリー(2011-05-21)”

わかりやすい。 / “rvm 入門 … 複数バージョンの Ruby と Rails を混在させ...

machu.jp 25 Nov '12, 3am

$ rvm install 1.8.7 Installing Ruby from source to: /Users/machu/.rvm/rubies/ruby-1.8.7-p334, this may take a while depend...