Sha256: 7e10d3c485ce3ea8bc13c36eecb281a18c2a748e6d0e8c69a403a2f2edaaf8c4
Contents?: true
Size: 457 Bytes
Versions: 1
Compression:
Stored size: 457 Bytes
Contents
require 'bigdecimal' require 'benchmark' require File.expand_path('lib/jrjackson') require File.expand_path('benchmarking/fixtures/bench_options') filename = File.expand_path(BenchOptions.source) opts = nil dumped_string = File.read(filename) Benchmark.bmbm(BenchOptions.output_width) do |x| x.report("jackson parse string keys: #{BenchOptions.iterations}") do BenchOptions.iterations.times { JrJackson::Json.load(dumped_string, opts) } end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
jrjackson-0.2.4 | benchmarking/individual/string-jr-sourced.rb |