Skip to content

Instantly share code, notes, and snippets.

@schneems
Created March 8, 2018 17:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save schneems/096853464e8ae4e0a30d46a63f726465 to your computer and use it in GitHub Desktop.
Save schneems/096853464e8ae4e0a30d46a63f726465 to your computer and use it in GitHub Desktop.
git clone https://github.com/codetriage/codetriage
cd codetriage
bundle install
cp config/database.example.yml config/database.yml
NO_BOOTSNAP=1 bin/rake db:create db:schema:load db:seed
NO_BOOTSNAP=1 RAILS_ENV=production RAILS_SERVE_STATIC_FILES=1 RAILS_LOG_TO_STDOUT=1 bundle exec derailed exec perf:test
# Runs 5,000 requests against homepage
# output is in the form of Benchmark.benchmark
13.233374 0.872513 14.143397 ( 19.059944)
RUBYOPT='--jit' NO_BOOTSNAP=1 RAILS_ENV=production RAILS_SERVE_STATIC_FILES=1 RAILS_LOG_TO_STDOUT=1 bundle exec derailed exec perf:test
16.528262 3.169134 43.357404 ( 24.925825)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment