some soample counter methods
This commit is contained in:
parent
33800969a8
commit
b730b27c4f
|
@ -41,6 +41,9 @@ if defined?(Rack::MiniProfiler)
|
||||||
Rack::MiniProfiler.config.backtrace_ignores << /config\/initializers\/silence_logger/
|
Rack::MiniProfiler.config.backtrace_ignores << /config\/initializers\/silence_logger/
|
||||||
Rack::MiniProfiler.config.backtrace_ignores << /config\/initializers\/quiet_logger/
|
Rack::MiniProfiler.config.backtrace_ignores << /config\/initializers\/quiet_logger/
|
||||||
|
|
||||||
|
|
||||||
|
# Rack::MiniProfiler.counter_method(ActiveRecord::QueryMethods, 'build_arel')
|
||||||
|
# Rack::MiniProfiler.counter_method(Array, 'uniq')
|
||||||
# require "#{Rails.root}/vendor/backports/notification"
|
# require "#{Rails.root}/vendor/backports/notification"
|
||||||
|
|
||||||
# inst = Class.new
|
# inst = Class.new
|
||||||
|
|
Loading…
Reference in New Issue