Sha256: 230a0cdf1ca3e1448ac0890546a1a4f4dfb73fbf39306654fb358783d879df87
Contents?: true
Size: 407 Bytes
Versions: 1
Compression:
Stored size: 407 Bytes
Contents
require 'bigdecimal' require 'benchmark' require 'gson' require File.expand_path('benchmarking/fixtures/bench_options') filename = File.expand_path(BenchOptions.source) dumped_string = File.read(filename) Benchmark.bmbm(BenchOptions.output_width) do |x| x.report("gson parse: #{BenchOptions.iterations}") do BenchOptions.iterations.times { ::Gson::Decoder.new({}).decode(dumped_string) } end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
jrjackson-0.2.4 | benchmarking/individual/gson-jr-sourced.rb |