Sha256: cb3faecb0c443bca5e4ff669255689eb881985e3e1d86ee1c73bece561d16887
Contents?: true
Size: 413 Bytes
Versions: 1
Compression:
Stored size: 413 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(BenchOptions.output_width) do |x| x.report("json mri parse: #{BenchOptions.iterations}") do BenchOptions.iterations.times { JSON::Ext::Parser.new(dumped_string).parse } end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
jrjackson-0.2.4 | benchmarking/individual/json-mri-sourced.rb |