summaryrefslogtreecommitdiff
path: root/Gemfile
diff options
context:
space:
mode:
authorToon Claes <toon@gitlab.com>2019-06-03 13:53:48 +0200
committerToon Claes <toon@gitlab.com>2019-06-03 20:53:53 +0200
commitbe472673313680d62ff9d3b4bb81976e714dd8cd (patch)
tree1cb6292a8373cb14efca9e839853a134cf80513d /Gemfile
parent5b0291d25306098d34e71c7c97ef6a8c6b836024 (diff)
downloadgitlab-ce-be472673313680d62ff9d3b4bb81976e714dd8cd.tar.gz
Add activerecord-explain-analyze gem
This gem allows you to get the `EXPLAIN ANALYZE` query plan, directly from the Rails console. The gem is installed with `require: false`, but if it was loaded on launch, this would be it's memory load: ``` TOP: 145.3086 MiB rails/all: 22.4844 MiB ... activerecord-explain-analyze: 2.9648 MiB active_record/connection_adapters/postgresql_adapter: 2.9648 MiB pg: 2.9648 MiB pg_ext: 2.9648 MiB ... ```
Diffstat (limited to 'Gemfile')
-rw-r--r--Gemfile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Gemfile b/Gemfile
index 66348414506..55e1bd58a38 100644
--- a/Gemfile
+++ b/Gemfile
@@ -403,6 +403,7 @@ gem 'ruby-prof', '~> 0.17.0'
gem 'rbtrace', '~> 0.4', require: false
gem 'memory_profiler', '~> 0.9', require: false
gem 'benchmark-memory', '~> 0.1', require: false
+gem 'activerecord-explain-analyze', '~> 0.1', require: false
# OAuth
gem 'oauth2', '~> 1.4'