Sha256: 4510c3e7c06e658a81f9fc595079f408269981430b4530ddd82525d1f49ffe36

Contents?: true

Size: 303 Bytes

Versions: 1

Compression:

Stored size: 303 Bytes

Contents

prelude: |
  require 'erb'

  title = "hello world!"
  content = "hello world!\n" * 10

  data = <<EOS
  <html>
    <head> <%= title %> </head>
    <body>
      <h1> <%= title %> </h1>
      <p>
        <%= content %>
      </p>
    </body>
  </html>
  EOS

benchmark: |
  ERB.new(data).result(binding)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
benchmark_driver-0.1.0 examples/bm_app_erb.yml