class Opera::Operation::Instructions::Executors::Benchmark

Public Instance Methods

call(instruction) click to toggle source
Calls superclass method Opera::Operation::Executor#call
# File lib/opera/operation/instructions/executors/benchmark.rb, line 8
def call(instruction)
  benchmark = ::Benchmark.measure do
    super
  end

  result.add_information(real: benchmark.real, total: benchmark.total)
end