提交 c4a286eb 编写于 作者: S schneems

Include rack-mini-profiler by default

I've used many development related performance tools, but the single most consistently helpful tool is `rack-mini-profiler`. 


The tool provides a lightweight UI element for each page, that shows the server response time. When clicked it expands to show more detail:

![](https://www.dropbox.com/s/0aciw4mk8c059n0/Screenshot%202017-07-24%2010.24.24.png?dl=1)


This can be used to detect expensive queries, N+1 issues and general performance related problems.
上级 846832ae
* Include `rack-mini-profiler` gem by default. This gem allows for easy
visability and diagnosis of performance related issues.
*Richard Schneeman*
* Support `-` as a platform-agnostic way to run a script from stdin with
`rails runner`
......
......@@ -46,6 +46,8 @@ group :development do
<%- else -%>
gem 'web-console', '>= 3.3.0'
<%- end -%>
# Display performance metrics on each page load. To configure for production read: https://github.com/MiniProfiler/rack-mini-profiler
gem 'rack-mini-profiler', '~> 0.10.5'
<%- end -%>
<% if depend_on_listen? -%>
gem 'listen', '>= 3.0.5', '< 3.2'
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册