Skip to content
Permalink
master
Go to file
 
 
Cannot retrieve contributors at this time
22 lines (19 sloc) 295 Bytes
require 'benchmark'
require './runner'
class DCIUser; end
class Context
def self.call
user = DCIUser.new
user.extend Runner
user.run
end
end
Benchmark.bm do |bench|
3.times do
bench.report('DCI') do
1000000.times do
Context.call
end
end
end
end
You can’t perform that action at this time.