Sha256: 3d0cf2db0e982cbf77d3f6aaeb606aa94f177b48aebd58622cb1597efdae43f3
Contents?: true
Size: 362 Bytes
Versions: 1
Compression:
Stored size: 362 Bytes
Contents
require 'benchmark' require 'oj' require File.expand_path('benchmarking/fixtures/bench_options') filename = File.expand_path(BenchOptions.source) hsh = Oj.compat_load(File.read(filename)) Benchmark.bmbm(BenchOptions.output_width) do |x| x.report("oj mri generate: #{BenchOptions.iterations}") do BenchOptions.iterations.times { Oj.dump(hsh) } end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
jrjackson-0.2.4 | benchmarking/individual/oj-gen-mri-sourced.rb |