LoginSignup
8
8

More than 5 years have passed since last update.

bundlerのParallel installationの速さを体感

Posted at

Parallel installation - pullreq

導入

Bundlerで並列処理??bundle installを爆速で処理する方法。

$ gem install bundler --pre
$ bundle install --jobs=4

計測

使用したGemfile

Gemfile
source "https://rubygems.org"
gem "rails"

v1.3.5

1 2 3 4 5 AVG
real 36.110s 33.427s 31.694s 34.629s 36.245s 34.421s
user 5.073s 5.104s 5.080s 5.003s 5.169s 5.0858s
sys 0.961s 0.907s 0.888s 0.930s 0.897s 0.9166s

v1.4.0.pre.1

1 2 3 4 5 AVG
real 24.492s 19.518s 20.728s 20.412s 20.329s 21.096s
user 5.626s 5.334s 5.455s 5.529s 5.393s 5.467s
sys 1.185s 1.051s 1.097s 1.051s 1.071s 1.091s

v1.3.5 vs v1.4.0.pre.1

v1.3.5 v1.4.0.pre.1 DIFF
real 34.421s 21.096s 13.325s
user 5.086s 5.467s -0.382s
sys 0.917s 1.091s -0.174s
8
8
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
8
8