We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d44ef9c + 7710331 commit 28cb818Copy full SHA for 28cb818
benchmark/parser.rb
@@ -23,6 +23,7 @@ def benchmark_parsing(name, json_output)
23
x.report("json") { JSON.parse(json_output) } if RUN[:json]
24
x.report("oj") { Oj.load(json_output) } if RUN[:oj]
25
x.report("oj strict") { Oj.strict_load(json_output) } if RUN[:oj]
26
+ x.report("Oj::Parser") { Oj::Parser.usual.parse(json_output) } if RUN[:oj]
27
x.report("fast_jsonparser") { FastJsonparser.parse(json_output) } if RUN[:fast_jsonparser]
28
x.report("rapidjson") { RapidJSON.parse(json_output) } if RUN[:rapidjson]
29
end
0 commit comments