Sha256: 08c801cd044129dca995f7e05c89c3ca42bf2ff92e0fe4c4c1a03d817c3caaba

Contents?: true

Size: 291 Bytes

Versions: 11

Compression:

Stored size: 291 Bytes

Contents

# frozen_string_literal: true

$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

11 entries across 11 versions & 1 rubygems

Version Path
hot_module-1.0.0.alpha14 benchmark.rb
hot_module-1.0.0.alpha13 benchmark.rb
hot_module-1.0.0.alpha12 benchmark.rb
hot_module-1.0.0.alpha11 benchmark.rb
hot_module-1.0.0.alpha10 benchmark.rb
hot_module-1.0.0.alpha9 benchmark.rb
hot_module-1.0.0.alpha8 benchmark.rb
hot_module-1.0.0.alpha7 benchmark.rb
hot_module-1.0.0.alpha6 benchmark.rb
hot_module-1.0.0.alpha5 benchmark.rb
hot_module-1.0.0.alpha4 benchmark.rb