forked from OpenNeo/impress
Matchu
c496e33c37
It shows up in development always, and if you're logged in as Me Specifically in production! I'm using this to poke at memory usage for pages that seem suspicious. I don't know why our app reliably grows so large in RAM, but my hunch is that maybe there are some pages that just use a truly large amount to begin with - and I've learned Ruby doesn't release memory back after it's GC'd, it just grows the process and keeps the free space to itself in its own heap! So I'm just eyeing pages that I know *can* have a lot going on, and seeing what I find!
3 lines
104 B
Ruby
3 lines
104 B
Ruby
Rails.configuration.to_prepare do
|
|
Rack::MiniProfiler.config.enable_advanced_debugging_tools = true
|
|
end
|