Skip to content

Instantly share code, notes, and snippets.

Avatar

Julien Letessier mezis

View GitHub Profile
View bm_dci_pounding.rb
require 'benchmark'
number_of_rails_methods = 300
@rails = Class.new do
number_of_rails_methods.times do |i|
class_eval <<-RUBY
def call#{"%02d" % i} # def call01
end # end
RUBY
You can’t perform that action at this time.