From 02fce160a9b81e5e008af82a5b67e66a15cd26c4 Mon Sep 17 00:00:00 2001 From: Josh Kalderimis Date: Sun, 28 Jun 2015 01:23:01 -0500 Subject: [PATCH] try out jemalloc --- Gemfile | 4 +++- Gemfile.lock | 5 +++++ Procfile | 6 +++--- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/Gemfile b/Gemfile index e85cdaef..9334227c 100644 --- a/Gemfile +++ b/Gemfile @@ -1,7 +1,7 @@ source 'https://rubygems.org' gemspec -ruby '2.1.2' if ENV.key?('DYNO') +ruby '2.1.6' if ENV.key?('DYNO') gem 's3', github: 'travis-ci/s3' @@ -32,6 +32,8 @@ gem 'simplecov' gem 'skylight', '~> 0.6.0.beta.1' gem 'stackprof' +gem 'jemalloc' + group :test do gem 'rspec', '~> 2.13' gem 'factory_girl', '~> 2.4.0' diff --git a/Gemfile.lock b/Gemfile.lock index 965b3754..41aeb82a 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -190,6 +190,7 @@ GEM httpclient (2.6.0.1) i18n (0.7.0) ice_nine (0.11.1) + jemalloc (1.0.1) journey (1.0.4) json (1.8.3) kgio (2.9.2) @@ -339,6 +340,7 @@ DEPENDENCIES factory_girl (~> 2.4.0) foreman gh + jemalloc metriks (= 0.9.9.6) metriks-librato_metrics! micro_migrations @@ -367,3 +369,6 @@ DEPENDENCIES travis-yaml! unicorn yard-sinatra! + +BUNDLED WITH + 1.10.5 diff --git a/Procfile b/Procfile index 400d5e44..cfffe7c2 100644 --- a/Procfile +++ b/Procfile @@ -1,3 +1,3 @@ -web: bundle exec ./script/server -console: bundle exec ./script/console -sidekiq: bundle exec sidekiq -c 4 -r ./lib/travis/sidekiq.rb -q build_cancellations, -q build_restarts, -q job_cancellations, -q job_restarts +web: bundle exec je ./script/server +console: bundle exec je ./script/console +sidekiq: bundle exec je sidekiq -c 4 -r ./lib/travis/sidekiq.rb -q build_cancellations, -q build_restarts, -q job_cancellations, -q job_restarts