mirror of
https://github.com/discourse/discourse.git
synced 2025-06-04 03:44:47 +08:00
Introduce support for dumping Rails process heap at the end of a benchmark run
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user