Class: ParserBenchmarkRails
- Defined in:
- lib/vendor/json_pure/benchmarks/parser_benchmark.rb
Instance Method Summary collapse
Instance Method Details
#benchmark_parser ⇒ Object
179 180 181 |
# File 'lib/vendor/json_pure/benchmarks/parser_benchmark.rb', line 179 def benchmark_parser @result = ActiveSupport::JSON.decode(@json) end |
#generic_reset_method ⇒ Object
183 184 185 |
# File 'lib/vendor/json_pure/benchmarks/parser_benchmark.rb', line 183 def generic_reset_method @result == @big or raise "not equal" end |