diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2015-07-09 08:39:40 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2015-07-09 08:39:40 -0700 |
commit | 8fabdd3fddbd222109976fddb0d38255a9490f1d (patch) | |
tree | 05c37181d228a244809572d16e3f2dfe2733fd90 /lib/ffi_yajl/benchmark/encode.rb | |
parent | 6d427a893b28ee71ddcdbb3a6cd64cd01c7a690f (diff) | |
download | ffi-yajl-8fabdd3fddbd222109976fddb0d38255a9490f1d.tar.gz |
fix lots of cops
and add a few more to be ignored
Diffstat (limited to 'lib/ffi_yajl/benchmark/encode.rb')
-rw-r--r-- | lib/ffi_yajl/benchmark/encode.rb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/ffi_yajl/benchmark/encode.rb b/lib/ffi_yajl/benchmark/encode.rb index d3f969c..5b7dbb1 100644 --- a/lib/ffi_yajl/benchmark/encode.rb +++ b/lib/ffi_yajl/benchmark/encode.rb @@ -42,7 +42,6 @@ end module FFI_Yajl class Benchmark class Encode - def run #filename = ARGV[0] || 'benchmark/subjects/ohai.json' filename = File.expand_path(File.join(File.dirname(__FILE__), "subjects", "ohai.json")) @@ -51,7 +50,6 @@ module FFI_Yajl times = ARGV[1] ? ARGV[1].to_i : 1000 puts "Starting benchmark encoding #{filename} #{times} times\n\n" ::Benchmark.bmbm { |x| - x.report("FFI_Yajl::Encoder.encode (to a String)") { times.times { output = FFI_Yajl::Encoder.encode(hash) @@ -136,5 +134,4 @@ module FFI_Yajl end end end - end |