一个图形化视图,可查看 Rails 应用程序的性能
a rails performance tool.
require 'memprof/tracer'
config.middleware.use Memprof::TracerThe Memprof::Tracer middleware will record JSON stats about each
incoming request to /tmp/memprof_tracer-PID.json
bundle install
./bin/hotspots /tmp/memprof_tracer-*.json hotspots-report/
open hotspots-report/index.html暂无开放 Issues,或尚未同步最近议题。