Skip to content

Commit

Permalink
Take advantage of bundler's parallelism
Browse files Browse the repository at this point in the history
20 jobs is somewhat arbitrary.

Parallelism need not be limited to the number of logical cores. Because
installing gems is such an IO-intensive task, generally not CPU-bound,
we can typically see big speed wins by starting many at once.
  • Loading branch information
nilbus committed Jul 25, 2017
1 parent 708e5bb commit e62047f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ RUN curl -sL https://deb.nodesource.com/setup_4.x | bash - && \
WORKDIR /exercism

COPY Gemfile Gemfile.lock /exercism/
RUN bundle install
RUN bundle install --jobs=20

0 comments on commit e62047f

Please sign in to comment.