Sha256: b2c4699e95e7ff95729802cd0e9f0f92194892c5d5e949b87bdeca46bdde4d7a

Contents?: true

Size: 288 Bytes

Versions: 18

Compression:

Stored size: 288 Bytes

Contents

# frozen_string_literal: true

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

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

18 entries across 18 versions & 1 rubygems

Version Path
heartml-1.0.0.beta18 benchmark.rb
heartml-1.0.0.beta17 benchmark.rb
heartml-1.0.0.beta16 benchmark.rb
heartml-1.0.0.beta15 benchmark.rb
heartml-1.0.0.beta14 benchmark.rb
heartml-1.0.0.beta13 benchmark.rb
heartml-1.0.0.beta12 benchmark.rb
heartml-1.0.0.beta11 benchmark.rb
heartml-1.0.0.beta10 benchmark.rb
heartml-1.0.0.beta9 benchmark.rb
heartml-1.0.0.beta8 benchmark.rb
heartml-1.0.0.beta7 benchmark.rb
heartml-1.0.0.beta6 benchmark.rb
heartml-1.0.0.beta5 benchmark.rb
heartml-1.0.0.beta4 benchmark.rb
heartml-1.0.0.beta3 benchmark.rb
heartml-1.0.0.beta2 benchmark.rb
heartml-1.0.0.beta1 benchmark.rb