Sha256: 1eda05824d42539e5dd6e2d58a3a8f06b11cc471cad039b541e310fa8fb60bf4

Contents?: true

Size: 163 Bytes

Versions: 2

Compression:

Stored size: 163 Bytes

Contents

require 'benchmark'

def execute
  100000.times do
    {
      "foo" => {
        "bar" => "baz"
      }
    }.to_json
  end
end

puts Benchmark.measure {execute}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fjson-0.1.1 hash_benchmark.rb
fjson-0.1.2 hash_benchmark.rb