Class: Parser2BenchmarkRails
- Defined in:
- lib/vendor/json_pure/benchmarks/parser2_benchmark.rb
Instance Method Summary collapse
Instance Method Details
#benchmark_parser ⇒ Object
174 175 176 |
# File 'lib/vendor/json_pure/benchmarks/parser2_benchmark.rb', line 174 def benchmark_parser @result = ActiveSupport::JSON.decode(@json) end |
#generic_reset_method ⇒ Object
178 179 180 |
# File 'lib/vendor/json_pure/benchmarks/parser2_benchmark.rb', line 178 def generic_reset_method @result == @big or raise "not equal" end |