Sha256: 570c8cc23e935b47cb48713c521f75d6f69346ea83f61cab306ea997cec899e9
Contents?: true
Size: 416 Bytes
Versions: 3
Compression:
Stored size: 416 Bytes
Contents
require 'bigdecimal' require 'benchmark' require 'json/ext' require File.expand_path('benchmarking/fixtures/bench_options') filename = File.expand_path(BenchOptions.source) dumped_string = File.read(filename) Benchmark.bmbm("jackson parse symbol + bigdecimal: ".size) do |x| x.report("json java parse: #{BenchOptions.iterations}") do BenchOptions.iterations.times { ::JSON.parse(dumped_string) } end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
jrjackson-0.2.3 | benchmarking/individual/json-jr-sourced.rb |
jrjackson-0.2.2 | benchmarking/individual/json-jr-sourced.rb |
jrjackson-0.2.1 | benchmarking/individual/json-jr-sourced.rb |