Introduce support for dumping Rails process heap at the end of a benchmark run

This commit is contained in:
Lourens Naudé
2014-12-07 22:54:35 +00:00
parent c273a6d1d4
commit fb60daa867
4 changed files with 36 additions and 3 deletions

View File

@ -181,6 +181,7 @@ Discourse::Application.routes.draw do
end
get "memory_stats"=> "diagnostics#memory_stats", constraints: AdminConstraint.new
get "dump_heap"=> "diagnostics#dump_heap", constraints: AdminConstraint.new
end # admin namespace