diff options
author | Toon Claes <toon@gitlab.com> | 2019-06-03 13:53:48 +0200 |
---|---|---|
committer | Toon Claes <toon@gitlab.com> | 2019-06-03 20:53:53 +0200 |
commit | be472673313680d62ff9d3b4bb81976e714dd8cd (patch) | |
tree | 1cb6292a8373cb14efca9e839853a134cf80513d /Gemfile | |
parent | 5b0291d25306098d34e71c7c97ef6a8c6b836024 (diff) | |
download | gitlab-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-- | Gemfile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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' |