Bug 2167402
| Summary: | JQ1.6 is extremely slower than JQ1.5 | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Arya Rajendran <arajendr> |
| Component: | jq | Assignee: | Tomas Halman <thalman> |
| Status: | CLOSED MIGRATED | QA Contact: | sssd-qe |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | --- | CC: | spoore |
| Target Milestone: | rc | Keywords: | MigratedToJIRA, Triaged |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-09-19 13:30:57 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Issue migration from Bugzilla to Jira is in process at this time. This will be the last message in Jira copied from the Bugzilla bug. This BZ has been automatically migrated to the issues.redhat.com Red Hat Issue Tracker. All future work related to this report will be managed there. Due to differences in account names between systems, some fields were not replicated. Be sure to add yourself to Jira issue's "Watchers" field to continue receiving updates and add others to the "Need Info From" field to continue requesting information. To find the migrated issue, look in the "Links" section for a direct link to the new issue location. The issue key will have an icon of 2 footprints next to it, and begin with "RHEL-" followed by an integer. You can also find this issue by visiting https://issues.redhat.com/issues/?jql= and searching the "Bugzilla Bug" field for this BZ's number, e.g. a search like: "Bugzilla Bug" = 1234567 In the event you have trouble locating or viewing this issue, you can file an issue by sending mail to rh-issues. You can also visit https://access.redhat.com/articles/7032570 for general account information. |
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