We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fa79806 commit b50aa3aCopy full SHA for b50aa3a
bundler.d/profiling.rb
@@ -0,0 +1,9 @@
1
+group :development do
2
+ gem 'rack-mini-profiler'
3
+
4
+ # For memory profiling
5
+ gem 'memory_profiler'
6
7
+ # For call-stack profiling flamegraphs
8
+ gem 'stackprof'
9
+end
config/initializers/rack_mini_profiler.rb
@@ -0,0 +1,7 @@
+if defined? Rack::MiniProfiler
+ # enable profiling for all pages; per-default it is disabled on production-env
+ Rack::MiniProfiler.config.authorization_mode = :allow_all
+ # enable additional profiling-features
+ Rack::MiniProfiler.config.enable_advanced_debugging_tools = true
0 commit comments