lib/active_support/benchmarkable.rb in activesupport-7.0.8.6 vs lib/active_support/benchmarkable.rb in activesupport-7.1.0.beta1
- old
+ new
@@ -2,9 +2,10 @@
require "active_support/core_ext/benchmark"
require "active_support/core_ext/hash/keys"
module ActiveSupport
+ # = \Benchmarkable
module Benchmarkable
# Allows you to measure the execution time of a block in a template and
# records the result to the log. Wrap this block around expensive operations
# or possible bottlenecks to get a time reading for the operation. For
# example, let's say you thought your file processing method was taking too