Sha256: 285267ea01ca5d1147f62bca1f165a618357d701132072f2f0ae1577c1f117ec

Contents?: true

Size: 300 Bytes

Versions: 5

Compression:

Stored size: 300 Bytes

Contents

require 'benchmark/ips'
require 'yaks'

require_relative '../spec/acceptance/models'
require_relative '../spec/fixture_helpers'

Benchmark.ips do |x|
  $yaks = Yaks.new

  input = FixtureHelpers.load_yaml_fixture 'confucius'

  x.report "Simple HAL mapping" do
    $yaks.serialize(input)
  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
yaks-0.4.4 bench/bench.rb
yaks-0.4.3 bench/bench.rb
yaks-0.4.2 bench/bench.rb
yaks-0.4.1 bench/bench.rb
yaks-0.4.0 bench/bench.rb