parser_json: use JSON as fallback parser instead of Yajl for performance #573
Annotations
19 errors
Failure:
test/plugin/test_parser_json.rb#L31
<[#<Method: Yajl.load(str_or_io, options=..., read_bufsize=..., &block) /opt/hostedtoolcache/Ruby/3.2.6/x64/lib/ruby/gems/3.2.0/gems/yajl-ruby-1.4.3/lib/yajl.rb:17>,
Yajl::ParseError]> expected but was
<[#<Method: JSON.load(source, proc=..., options=...) /opt/hostedtoolcache/Ruby/3.2.6/x64/lib/ruby/gems/3.2.0/gems/json-2.9.1/lib/json/common.rb:714>,
JSON::ParserError]>.
diff:
- [#<Method: Yajl.load(str_or_io, options=..., read_bufsize=..., &block) /opt/hostedtoolcache/Ruby/3.2.6/x64/lib/ruby/gems/3.2.0/gems/yajl-ruby-1.4.3/lib/yajl.rb:17>,
+ [#<Method: JSON.load(source, proc=..., options=...) /opt/hostedtoolcache/Ruby/3.2.6/x64/lib/ruby/gems/3.2.0/gems/json-2.9.1/lib/json/common.rb:714>,
- Yajl::ParseError]
? ^^^^
+ JSON::ParserError]
? ^^^^ +
folded diff:
+ [#<Method: JSON.load(source, proc=..., options=...) /opt/hostedtoolcache/Ruby/
+ 3.2.6/x64/lib/ruby/gems/3.2.0/gems/json-2.9.1/lib/json/common.rb:714>,
- [#<Method: Yajl.load(str_or_io, options=..., read_bufsize=..., &block) /opt/ho
- stedtoolcache/Ruby/3.2.6/x64/lib/ruby/gems/3.2.0/gems/yajl-ruby-1.4.3/lib/yajl
- .rb:17>,
- Yajl::ParseError]
? ^^^^
+ JSON::ParserError]
? ^^^^ +
|
Ruby 3.2 on ubuntu-latest
Process completed with exit code 1.
|
Failure:
test/plugin/test_parser_json.rb#L31
<[#<Method: Yajl.load(str_or_io, options=..., read_bufsize=..., &block) /opt/hostedtoolcache/Ruby/3.3.7/x64/lib/ruby/gems/3.3.0/gems/yajl-ruby-1.4.3/lib/yajl.rb:17>,
Yajl::ParseError]> expected but was
<[#<Method: JSON.load(source, proc=..., options=...) /opt/hostedtoolcache/Ruby/3.3.7/x64/lib/ruby/gems/3.3.0/gems/json-2.9.1/lib/json/common.rb:714>,
JSON::ParserError]>.
diff:
- [#<Method: Yajl.load(str_or_io, options=..., read_bufsize=..., &block) /opt/hostedtoolcache/Ruby/3.3.7/x64/lib/ruby/gems/3.3.0/gems/yajl-ruby-1.4.3/lib/yajl.rb:17>,
+ [#<Method: JSON.load(source, proc=..., options=...) /opt/hostedtoolcache/Ruby/3.3.7/x64/lib/ruby/gems/3.3.0/gems/json-2.9.1/lib/json/common.rb:714>,
- Yajl::ParseError]
? ^^^^
+ JSON::ParserError]
? ^^^^ +
folded diff:
+ [#<Method: JSON.load(source, proc=..., options=...) /opt/hostedtoolcache/Ruby/
+ 3.3.7/x64/lib/ruby/gems/3.3.0/gems/json-2.9.1/lib/json/common.rb:714>,
- [#<Method: Yajl.load(str_or_io, options=..., read_bufsize=..., &block) /opt/ho
- stedtoolcache/Ruby/3.3.7/x64/lib/ruby/gems/3.3.0/gems/yajl-ruby-1.4.3/lib/yajl
- .rb:17>,
- Yajl::ParseError]
? ^^^^
+ JSON::ParserError]
? ^^^^ +
|
Ruby 3.3 on ubuntu-latest
Process completed with exit code 1.
|
Failure:
test/plugin/test_parser_json.rb#L31
<[#<Method: Yajl.load(str_or_io, options=..., read_bufsize=..., &block) /opt/hostedtoolcache/Ruby/3.4.1/x64/lib/ruby/gems/3.4.0/gems/yajl-ruby-1.4.3/lib/yajl.rb:17>,
Yajl::ParseError]> expected but was
<[#<Method: JSON.load(source, proc=..., options=...) /opt/hostedtoolcache/Ruby/3.4.1/x64/lib/ruby/gems/3.4.0/gems/json-2.9.1/lib/json/common.rb:714>,
JSON::ParserError]>.
diff:
- [#<Method: Yajl.load(str_or_io, options=..., read_bufsize=..., &block) /opt/hostedtoolcache/Ruby/3.4.1/x64/lib/ruby/gems/3.4.0/gems/yajl-ruby-1.4.3/lib/yajl.rb:17>,
+ [#<Method: JSON.load(source, proc=..., options=...) /opt/hostedtoolcache/Ruby/3.4.1/x64/lib/ruby/gems/3.4.0/gems/json-2.9.1/lib/json/common.rb:714>,
- Yajl::ParseError]
? ^^^^
+ JSON::ParserError]
? ^^^^ +
folded diff:
+ [#<Method: JSON.load(source, proc=..., options=...) /opt/hostedtoolcache/Ruby/
+ 3.4.1/x64/lib/ruby/gems/3.4.0/gems/json-2.9.1/lib/json/common.rb:714>,
- [#<Method: Yajl.load(str_or_io, options=..., read_bufsize=..., &block) /opt/ho
- stedtoolcache/Ruby/3.4.1/x64/lib/ruby/gems/3.4.0/gems/yajl-ruby-1.4.3/lib/yajl
- .rb:17>,
- Yajl::ParseError]
? ^^^^
+ JSON::ParserError]
? ^^^^ +
|
Ruby 3.4 on ubuntu-latest
Process completed with exit code 1.
|
Failure:
test/plugin/test_parser_json.rb#L31
<[#<Method: Yajl.load(str_or_io, options=..., read_bufsize=..., &block) /Users/runner/hostedtoolcache/Ruby/3.2.6/arm64/lib/ruby/gems/3.2.0/gems/yajl-ruby-1.4.3/lib/yajl.rb:17>,
Yajl::ParseError]> expected but was
<[#<Method: JSON.load(source, proc=..., options=...) /Users/runner/hostedtoolcache/Ruby/3.2.6/arm64/lib/ruby/gems/3.2.0/gems/json-2.9.1/lib/json/common.rb:714>,
JSON::ParserError]>.
diff:
- [#<Method: Yajl.load(str_or_io, options=..., read_bufsize=..., &block) /Users/runner/hostedtoolcache/Ruby/3.2.6/arm64/lib/ruby/gems/3.2.0/gems/yajl-ruby-1.4.3/lib/yajl.rb:17>,
+ [#<Method: JSON.load(source, proc=..., options=...) /Users/runner/hostedtoolcache/Ruby/3.2.6/arm64/lib/ruby/gems/3.2.0/gems/json-2.9.1/lib/json/common.rb:714>,
- Yajl::ParseError]
? ^^^^
+ JSON::ParserError]
? ^^^^ +
folded diff:
- [#<Method: Yajl.load(str_or_io, options=..., read_bufsize=..., &block) /Users/
- runner/hostedtoolcache/Ruby/3.2.6/arm64/lib/ruby/gems/3.2.0/gems/yajl-ruby-1.4
- .3/lib/yajl.rb:17>,
+ [#<Method: JSON.load(source, proc=..., options=...) /Users/runner/hostedtoolca
+ che/Ruby/3.2.6/arm64/lib/ruby/gems/3.2.0/gems/json-2.9.1/lib/json/common.rb:71
+ 4>,
- Yajl::ParseError]
? ^^^^
+ JSON::ParserError]
? ^^^^ +
|
Ruby 3.2 on macos-latest
Process completed with exit code 1.
|
Failure:
test/plugin/test_parser_json.rb#L31
<[#<Method: Yajl.load(str_or_io, options=..., read_bufsize=..., &block) /Users/runner/hostedtoolcache/Ruby/3.3.7/arm64/lib/ruby/gems/3.3.0/gems/yajl-ruby-1.4.3/lib/yajl.rb:17>,
Yajl::ParseError]> expected but was
<[#<Method: JSON.load(source, proc=..., options=...) /Users/runner/hostedtoolcache/Ruby/3.3.7/arm64/lib/ruby/gems/3.3.0/gems/json-2.9.1/lib/json/common.rb:714>,
JSON::ParserError]>.
diff:
- [#<Method: Yajl.load(str_or_io, options=..., read_bufsize=..., &block) /Users/runner/hostedtoolcache/Ruby/3.3.7/arm64/lib/ruby/gems/3.3.0/gems/yajl-ruby-1.4.3/lib/yajl.rb:17>,
+ [#<Method: JSON.load(source, proc=..., options=...) /Users/runner/hostedtoolcache/Ruby/3.3.7/arm64/lib/ruby/gems/3.3.0/gems/json-2.9.1/lib/json/common.rb:714>,
- Yajl::ParseError]
? ^^^^
+ JSON::ParserError]
? ^^^^ +
folded diff:
- [#<Method: Yajl.load(str_or_io, options=..., read_bufsize=..., &block) /Users/
- runner/hostedtoolcache/Ruby/3.3.7/arm64/lib/ruby/gems/3.3.0/gems/yajl-ruby-1.4
- .3/lib/yajl.rb:17>,
+ [#<Method: JSON.load(source, proc=..., options=...) /Users/runner/hostedtoolca
+ che/Ruby/3.3.7/arm64/lib/ruby/gems/3.3.0/gems/json-2.9.1/lib/json/common.rb:71
+ 4>,
- Yajl::ParseError]
? ^^^^
+ JSON::ParserError]
? ^^^^ +
|
Ruby 3.3 on macos-latest
Process completed with exit code 1.
|
Failure:
test/plugin/test_parser_json.rb#L31
<[#<Method: Yajl.load(str_or_io, options=..., read_bufsize=..., &block) /Users/runner/hostedtoolcache/Ruby/3.4.1/arm64/lib/ruby/gems/3.4.0/gems/yajl-ruby-1.4.3/lib/yajl.rb:17>,
Yajl::ParseError]> expected but was
<[#<Method: JSON.load(source, proc=..., options=...) /Users/runner/hostedtoolcache/Ruby/3.4.1/arm64/lib/ruby/gems/3.4.0/gems/json-2.9.1/lib/json/common.rb:714>,
JSON::ParserError]>.
diff:
- [#<Method: Yajl.load(str_or_io, options=..., read_bufsize=..., &block) /Users/runner/hostedtoolcache/Ruby/3.4.1/arm64/lib/ruby/gems/3.4.0/gems/yajl-ruby-1.4.3/lib/yajl.rb:17>,
+ [#<Method: JSON.load(source, proc=..., options=...) /Users/runner/hostedtoolcache/Ruby/3.4.1/arm64/lib/ruby/gems/3.4.0/gems/json-2.9.1/lib/json/common.rb:714>,
- Yajl::ParseError]
? ^^^^
+ JSON::ParserError]
? ^^^^ +
folded diff:
- [#<Method: Yajl.load(str_or_io, options=..., read_bufsize=..., &block) /Users/
- runner/hostedtoolcache/Ruby/3.4.1/arm64/lib/ruby/gems/3.4.0/gems/yajl-ruby-1.4
- .3/lib/yajl.rb:17>,
+ [#<Method: JSON.load(source, proc=..., options=...) /Users/runner/hostedtoolca
+ che/Ruby/3.4.1/arm64/lib/ruby/gems/3.4.0/gems/json-2.9.1/lib/json/common.rb:71
+ 4>,
- Yajl::ParseError]
? ^^^^
+ JSON::ParserError]
? ^^^^ +
|
Ruby 3.4 on macos-latest
Process completed with exit code 1.
|
Failure:
test/plugin/test_out_exec_filter.rb#L533
<"2148"> expected but was
<"4412">.
|
Failure:
test/plugin/test_parser_json.rb#L31
<[#<Method: Yajl.load(str_or_io, options=..., read_bufsize=..., &block) C:/hostedtoolcache/windows/Ruby/3.3.7/x64/lib/ruby/gems/3.3.0/gems/yajl-ruby-1.4.3/lib/yajl.rb:17>,
Yajl::ParseError]> expected but was
<[#<Method: JSON.load(source, proc=..., options=...) C:/hostedtoolcache/windows/Ruby/3.3.7/x64/lib/ruby/gems/3.3.0/gems/json-2.9.1/lib/json/common.rb:714>,
JSON::ParserError]>.
diff:
- [#<Method: Yajl.load(str_or_io, options=..., read_bufsize=..., &block) C:/hostedtoolcache/windows/Ruby/3.3.7/x64/lib/ruby/gems/3.3.0/gems/yajl-ruby-1.4.3/lib/yajl.rb:17>,
+ [#<Method: JSON.load(source, proc=..., options=...) C:/hostedtoolcache/windows/Ruby/3.3.7/x64/lib/ruby/gems/3.3.0/gems/json-2.9.1/lib/json/common.rb:714>,
- Yajl::ParseError]
? ^^^^
+ JSON::ParserError]
? ^^^^ +
folded diff:
+ [#<Method: JSON.load(source, proc=..., options=...) C:/hostedtoolcache/windows
+ /Ruby/3.3.7/x64/lib/ruby/gems/3.3.0/gems/json-2.9.1/lib/json/common.rb:714>,
- [#<Method: Yajl.load(str_or_io, options=..., read_bufsize=..., &block) C:/host
- edtoolcache/windows/Ruby/3.3.7/x64/lib/ruby/gems/3.3.0/gems/yajl-ruby-1.4.3/li
- b/yajl.rb:17>,
- Yajl::ParseError]
? ^^^^
+ JSON::ParserError]
? ^^^^ +
|
Ruby 3.3 on windows-latest
Process completed with exit code 1.
|
Failure:
test/plugin/test_parser_json.rb#L31
<[#<Method: Yajl.load(str_or_io, options=..., read_bufsize=..., &block) C:/hostedtoolcache/windows/Ruby/3.4.1/x64/lib/ruby/gems/3.4.0/gems/yajl-ruby-1.4.3/lib/yajl.rb:17>,
Yajl::ParseError]> expected but was
<[#<Method: JSON.load(source, proc=..., options=...) C:/hostedtoolcache/windows/Ruby/3.4.1/x64/lib/ruby/gems/3.4.0/gems/json-2.9.1/lib/json/common.rb:714>,
JSON::ParserError]>.
diff:
- [#<Method: Yajl.load(str_or_io, options=..., read_bufsize=..., &block) C:/hostedtoolcache/windows/Ruby/3.4.1/x64/lib/ruby/gems/3.4.0/gems/yajl-ruby-1.4.3/lib/yajl.rb:17>,
+ [#<Method: JSON.load(source, proc=..., options=...) C:/hostedtoolcache/windows/Ruby/3.4.1/x64/lib/ruby/gems/3.4.0/gems/json-2.9.1/lib/json/common.rb:714>,
- Yajl::ParseError]
? ^^^^
+ JSON::ParserError]
? ^^^^ +
folded diff:
+ [#<Method: JSON.load(source, proc=..., options=...) C:/hostedtoolcache/windows
+ /Ruby/3.4.1/x64/lib/ruby/gems/3.4.0/gems/json-2.9.1/lib/json/common.rb:714>,
- [#<Method: Yajl.load(str_or_io, options=..., read_bufsize=..., &block) C:/host
- edtoolcache/windows/Ruby/3.4.1/x64/lib/ruby/gems/3.4.0/gems/yajl-ruby-1.4.3/li
- b/yajl.rb:17>,
- Yajl::ParseError]
? ^^^^
+ JSON::ParserError]
? ^^^^ +
|
Ruby 3.4 on windows-latest
Process completed with exit code 1.
|
Failure:
test/plugin/test_parser_json.rb#L31
<[#<Method: Yajl.load(str_or_io, options=..., read_bufsize=..., &block) C:/hostedtoolcache/windows/Ruby/3.2.6/x64/lib/ruby/gems/3.2.0/gems/yajl-ruby-1.4.3/lib/yajl.rb:17>,
Yajl::ParseError]> expected but was
<[#<Method: JSON.load(source, proc=..., options=...) C:/hostedtoolcache/windows/Ruby/3.2.6/x64/lib/ruby/gems/3.2.0/gems/json-2.9.1/lib/json/common.rb:714>,
JSON::ParserError]>.
diff:
- [#<Method: Yajl.load(str_or_io, options=..., read_bufsize=..., &block) C:/hostedtoolcache/windows/Ruby/3.2.6/x64/lib/ruby/gems/3.2.0/gems/yajl-ruby-1.4.3/lib/yajl.rb:17>,
+ [#<Method: JSON.load(source, proc=..., options=...) C:/hostedtoolcache/windows/Ruby/3.2.6/x64/lib/ruby/gems/3.2.0/gems/json-2.9.1/lib/json/common.rb:714>,
- Yajl::ParseError]
? ^^^^
+ JSON::ParserError]
? ^^^^ +
folded diff:
+ [#<Method: JSON.load(source, proc=..., options=...) C:/hostedtoolcache/windows
+ /Ruby/3.2.6/x64/lib/ruby/gems/3.2.0/gems/json-2.9.1/lib/json/common.rb:714>,
- [#<Method: Yajl.load(str_or_io, options=..., read_bufsize=..., &block) C:/host
- edtoolcache/windows/Ruby/3.2.6/x64/lib/ruby/gems/3.2.0/gems/yajl-ruby-1.4.3/li
- b/yajl.rb:17>,
- Yajl::ParseError]
? ^^^^
+ JSON::ParserError]
? ^^^^ +
|
Ruby 3.2 on windows-latest
Process completed with exit code 1.
|