Sha256: e05b451be7e0fb33976093a25cfda9c1ba2eca42102711ddf386f72ffc0aa373

Contents?: true

Size: 260 Bytes

Versions: 2

Compression:

Stored size: 260 Bytes

Contents

$LOAD_PATH.unshift File.expand_path("lib", __dir__)
require "hot_module"

require_relative "test/fixtures/classes"

require "benchmark"

Benchmark.bmbm do |x|
  x.report("render") do
    1000.times do |i|
      Templated.new(name: i.to_s).()
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
hot_module-1.0.0.alpha3 benchmark.rb
hot_module-1.0.0.alpha2 benchmark.rb