Sha256: 23b3e84189322c73fc7726bd6042ea5e459d000c9dcdde3b6010c991e360a2c2

Contents?: true

Size: 300 Bytes

Versions: 96

Compression:

Stored size: 300 Bytes

Contents

#!/usr/bin/env ruby

$:.unshift(File.join(File.dirname(__FILE__), '..', 'lib'), File.dirname(__FILE__))

require 'slim'
require 'complex_view'

content = File.read(File.dirname(__FILE__) + '/view.slim')
slim = Slim::Template.new { content }
view  = ComplexView.new

10000.times { slim.render(view) }

Version data entries

96 entries across 51 versions & 2 rubygems

Version Path
classiccms-0.7.5 vendor/bundle/gems/slim-1.2.0/benchmarks/profile-render.rb
classiccms-0.7.5 vendor/bundle/gems/slim-1.2.1/benchmarks/profile-render.rb
classiccms-0.7.4 vendor/bundle/gems/slim-1.2.0/benchmarks/profile-render.rb
classiccms-0.7.4 vendor/bundle/gems/slim-1.2.1/benchmarks/profile-render.rb
classiccms-0.7.3 vendor/bundle/gems/slim-1.2.0/benchmarks/profile-render.rb
classiccms-0.7.3 vendor/bundle/gems/slim-1.2.1/benchmarks/profile-render.rb
classiccms-0.7.2 vendor/bundle/gems/slim-1.2.1/benchmarks/profile-render.rb
classiccms-0.7.2 vendor/bundle/gems/slim-1.2.0/benchmarks/profile-render.rb
classiccms-0.7.1 vendor/bundle/gems/slim-1.2.1/benchmarks/profile-render.rb
classiccms-0.7.1 vendor/bundle/gems/slim-1.2.0/benchmarks/profile-render.rb
classiccms-0.7.0 vendor/bundle/gems/slim-1.2.0/benchmarks/profile-render.rb
classiccms-0.7.0 vendor/bundle/gems/slim-1.2.1/benchmarks/profile-render.rb
classiccms-0.6.9 vendor/bundle/gems/slim-1.2.0/benchmarks/profile-render.rb
classiccms-0.6.9 vendor/bundle/gems/slim-1.2.1/benchmarks/profile-render.rb
classiccms-0.6.8 vendor/bundle/gems/slim-1.2.0/benchmarks/profile-render.rb
classiccms-0.6.8 vendor/bundle/gems/slim-1.2.1/benchmarks/profile-render.rb
classiccms-0.6.7 vendor/bundle/gems/slim-1.2.1/benchmarks/profile-render.rb
classiccms-0.6.7 vendor/bundle/gems/slim-1.2.0/benchmarks/profile-render.rb
classiccms-0.6.6 vendor/bundle/gems/slim-1.2.0/benchmarks/profile-render.rb
classiccms-0.6.6 vendor/bundle/gems/slim-1.2.1/benchmarks/profile-render.rb