mirror of https://github.com/rails/rails
Include rack-mini-profiler gem by default
This commit is contained in:
parent
2f1fefe456
commit
ac1d4a6a62
|
@ -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*
|
||||
|
|
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue