Bug 2167402 - JQ1.6 is extremely slower than JQ1.5
Summary: JQ1.6 is extremely slower than JQ1.5
Keywords:
Status: NEW
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: jq
Version: ---
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Tomas Halman
QA Contact: sssd-qe
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-02-06 14:38 UTC by Arya Rajendran
Modified: 2023-08-02 17:24 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-147632 0 None None None 2023-02-06 14:40:39 UTC
Red Hat Issue Tracker SSSD-6396 0 None None None 2023-07-11 12:53:24 UTC

Description Arya Rajendran 2023-02-06 14:38:38 UTC
Description of problem:

jq in RHEL8.6+ is much slow compared to jq1.5

Version-Release number of selected component (if applicable):

Rhel 8.6 
jq 1.6 

How reproducible:

Always

Steps to Reproduce:

[root@rhel8client ~]# jq --version
jq-1.6
[root@rhel8client ~]# time for n in {1..100}; do echo '{"test":0}' | jq . >/dev/null; done
real	0m3.769s
user	0m3.520s
sys	0m0.242s

[root@rhel8client ~]# jq --version
jq-1.5
[root@rhel8client ~]#
[root@rhel8client ~]#
[root@rhel8client ~]#
[root@rhel8client ~]# time for n in {1..100}; do echo '{"test":0}' | jq . >/dev/null; done

real	0m0.353s
user	0m0.255s
sys	0m0.140s

Actual results:

JQ1.6 is much slower than JQ1.5

Additional info:

Upstream fixes :
https://github.com/stedolan/jq/issues/2069
https://github.com/stedolan/jq/issues/1826


Note You need to log in before you can comment on or make changes to this bug.