Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 2d77b2fa9e
Fetching contributors…

Cannot retrieve contributors at this time

file 17 lines (15 sloc) 0.246 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
require 'benchmark'
require './runner'

class IncludeUser
  include Runner
end

Benchmark.bm do |bench|
  3.times do
    bench.report('include') do
      1000000.times do
        user = IncludeUser.new
        user.run
      end
    end
  end
end
Something went wrong with that request. Please try again.