diff options
Diffstat (limited to 'lib/ffi_yajl/benchmark/encode_profile.rb')
-rw-r--r-- | lib/ffi_yajl/benchmark/encode_profile.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ffi_yajl/benchmark/encode_profile.rb b/lib/ffi_yajl/benchmark/encode_profile.rb index d993581..6158508 100644 --- a/lib/ffi_yajl/benchmark/encode_profile.rb +++ b/lib/ffi_yajl/benchmark/encode_profile.rb @@ -25,7 +25,7 @@ module FFI_Yajl ffi_string_encoder = FFI_Yajl::Encoder.new PerfTools::CpuProfiler.start("/tmp/ffi_yajl_encode_profile.out") do times.times { - output = ffi_string_encoder.encode(hash) + ffi_string_encoder.encode(hash) } end system("pprof.rb --text /tmp/ffi_yajl_encode_profile.out") |