1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Merge pull request #38701 from OsamaSayegh/mp-in-rails

Include rack-mini-profiler gem by default
This commit is contained in:
Rafael França 2020-03-12 12:04:28 -04:00 committed by GitHub
commit bb9c12b4f5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 0 deletions

View file

@ -1,3 +1,11 @@
* Add `rack-mini-profiler` gem to the default `Gemfile`.
`rack-mini-profiler` displays performance information such as SQL time and flame graphs.
It's enabled by default in development environment, but can be enabled in production as well.
See the gem [README](https://github.com/MiniProfiler/rack-mini-profiler/blob/master/README.md) for information on how to enable it in production.
*Osama Sayegh*
* `rails stats` will now count TypeScript files toward JavaScript stats.
*Joshua Cody*

View file

@ -51,6 +51,8 @@ group :development do
<%- else -%>
gem 'web-console', '>= 3.3.0'
<%- end -%>
# Display performance information such as SQL time and flame graphs for each request in your browser. Can be configured to work on production as well see: https://github.com/MiniProfiler/rack-mini-profiler/blob/master/README.md
gem 'rack-mini-profiler', '~> 2.0.0'
<%- end -%>
<% if depend_on_listen? -%>
gem 'listen', '~> 3.2'