Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-5052

JQ1.6 is extremely slower than JQ1.5

Details

    • Bug
    • Resolution: Unresolved
    • Undefined
    • None
    • None
    • jq
    • sst_idm_sssd
    • ssg_idm
    • False
    • Hide

      None

      Show
      None
    • Unspecified
    • If docs needed, set a value
    • Unspecified

    Description

      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

      Attachments

        Activity

          People

            thalman@redhat.com Tomas Halman
            rhn-support-arajendr Arya Rajendran
            SSSD QE SSSD QE
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: