Sha256: 20fa08c871f4b82115d76123ac77fdba44ddba98aabefee1c9a59332ac458eea

Contents?: true

Size: 178 Bytes

Versions: 8

Compression:

Stored size: 178 Bytes

Contents

require 'benchmark'

module ActionLogic
  module ActionBenchmark
    class DefaultBenchmarkHandler
      def call
        Benchmark.measure { yield }
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
action_logic-0.3.3 lib/action_logic/action_benchmark/default_benchmark_block.rb
action_logic-0.3.2 lib/action_logic/action_benchmark/default_benchmark_block.rb
action_logic-0.3.1 lib/action_logic/action_benchmark/default_benchmark_block.rb
action_logic-0.3.0 lib/action_logic/action_benchmark/default_benchmark_block.rb
action_logic-0.2.8 lib/action_logic/action_benchmark/default_benchmark_block.rb
action_logic-0.2.7 lib/action_logic/action_benchmark/default_benchmark_block.rb
action_logic-0.2.6 lib/action_logic/action_benchmark/default_benchmark_block.rb
action_logic-0.2.5 lib/action_logic/action_benchmark/default_benchmark_block.rb