Last active
May 19, 2017 20:33
-
-
Save richardsondx/db6a1f366840c4f3654da235cfdc6c73 to your computer and use it in GitHub Desktop.
Performance Gemfile & Best Practises Gems
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Code smell | |
gem 'rubocop' | |
gem "rubycritic", require: false | |
gem 'reek' | |
gem 'simplecov', require: false | |
gem 'gemsurance' | |
# Better error page for Rack apps | |
gem "better_errors" | |
gem "binding_of_calle" | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Profiler for your development and production Ruby rack apps. | |
gem 'rack-mini-profiler', require: false | |
# | |
# For memory profiling (requires Ruby MRI 2.1+) | |
gem 'memory_profiler' | |
# For call-stack profiling flamegraphs (requires Ruby MRI 2.0.0+) | |
gem 'flamegraph' | |
gem 'stackprof' # For Ruby MRI 2.1+ | |
gem 'fast_stack' # For Ruby MRI 2.0 | |
# help to kill N+1 queries and unused eager loading | |
gem 'bullet' | |
# Benchmark and profile your Rails apps | |
gem 'rails-perftest' | |
# If you want to benchmark/profile under MRI or REE, add this line as well: | |
gem 'ruby-prof' | |
# Optimized JSON | |
gem 'oj' | |
gem 'oj_mimic_json' # we need this for Rails 4.1.x | |
# a fast Ruby HTTP client with a chainable API, streaming support, and timeouts | |
gem 'http' | |
gemt 'stackprof' | |
# Add ObjectSpace::AllocationTracer module. | |
gem 'allocation_tracer' | |
# Chrome extension for Rails development | |
gem 'meta_request' | |
# | |
gem 'peek' | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Find slow methods in your Ruby code. | |
https://github.com/change/method_profiler | |
# Benchmark and profile your Rails apps | |
https://github.com/rails/rails-perftest | |
# Modern HTTP benchmarking tool | |
https://github.com/wg/wrk | |
# | |
https://github.com/brianmario/escape_utils | |
# like strace, but for ruby code | |
https://github.com/tmm1/rbtrace | |
https://github.com/dtaniwaki/rack-dev-mark |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment