• None
    • None
    • rhel-sst-pt-python-ruby-nodejs
    • ssg_platform_tools
    • 13
    • False
    • Hide

      None

      Show
      None
    • None
    • Red Hat Enterprise Linux
    • None
    • None
    • None
    • x86_64, aarch64
    • None

      What were you trying to do that didn't work?

      Running python3.11 has 10+% lower performance than running the same version of python on Ubuntu 22.04.

      Please provide the package NVR for which bug is seen:

      python3.11-3.11.5-1.el9.x86_64

      How reproducible:

      Easy

      Steps to reproduce

      1. Install python3.11 and python3.11-pip
      2. Run python3.11 -m pip install pyperformance
      3. Run python3.11 -m pyperformance run -o results.json
      4. Repeat same for Ubuntu 22.04

      Alternatively run with python's timeit module

      for i in range(100000000):
          j=i

      Expected results

      Performance numbers should be within 5%

      Actual results

      Performance numbers show at least a 10% degradation.  This is collected after converting all test times to milliseconds and then using Geometric mean on the test times in milliseconds.

        1. image-2024-03-20-13-12-52-297.png
          image-2024-03-20-13-12-52-297.png
          92 kB
        2. ubuntu_pgo.patch
          1 kB
        3. fedora.O3.json
          877 kB
        4. fedora.pr111.json
          891 kB
        5. fedora.pr111.O3.json
          886 kB
        6. fedora.rawhide.json
          886 kB
        7. fedora.ubuntu_pgo.O3.json
          892 kB
        8. fedora.ubuntu_pgo.json
          870 kB
        9. performance_rhel9.5_s390x_O3.txt
          20 kB
        10. performance_rhel9.5_x86_64_O3.txt
          20 kB
        11. performance_rhel9.5_aarch64_O3.txt
          20 kB
        12. performance_rhel9.5_ppc64le_O3.txt
          20 kB
        13. python3.12_x86_64_rhel9_gcc_14.txt
          24 kB
        14. rhel9_flags_shuffle_compare
          27 kB
        15. c10s_flags_shuffle_compare
          27 kB
        16. c9s_x86_pgo_patch_comparison
          26 kB

              cstratak@redhat.com Charalampos Stratakis
              kvalin@redhat.com Keith Valin
              Joe Mario, Michey Mehta, Pete Rival
              Keith Valin Keith Valin
              Lukas Zachar Lukas Zachar
              Votes:
              0 Vote for this issue
              Watchers:
              17 Start watching this issue

                Created:
                Updated: