未验证 提交 bb9c12b4 编写于 作者: R Rafael França 提交者: GitHub

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

Include rack-mini-profiler gem by default
* 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'
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册