Python 3.11 Benchmarks Beta

Python 3.11 (beta) benchmarks by Michael Larabel. More Python 3.11 benchmarks to come on Phoronix.

Compare your own system(s) to this result file with the Phoronix Test Suite by running the command: phoronix-test-suite benchmark 2205310-PTS-PYTHON3127
Jump To Table - Results

View

Do Not Show Noisy Results
Do Not Show Results With Incomplete Data
Do Not Show Results With Little Change/Spread
List Notable Results
Show Result Confidence Charts
Allow Limiting Results To Certain Suite(s)

Statistics

Show Overall Harmonic Mean(s)
Show Overall Geometric Mean
Show Wins / Losses Counts (Pie Chart)
Normalize Results
Remove Outliers Before Calculating Averages

Graph Settings

Force Line Graphs Where Applicable
Convert To Scalar Where Applicable
Prefer Vertical Bar Graphs

Multi-Way Comparison

Condense Multi-Option Tests Into Single Result Graphs

Table

Show Detailed System Result Table

Run Management

Highlight
Result
Toggle/Hide
Result
Result
Identifier
Performance Per
Dollar
Date
Run
  Test
  Duration
Python 3.8.13
May 31 2022
  27 Minutes
Python 3.9.13
May 30 2022
  28 Minutes
Python 3.10.4
May 30 2022
  27 Minutes
Python 3.11b
May 30 2022
  23 Minutes
Invert Behavior (Only Show Selected Data)
  26 Minutes

Only show results where is faster than
Only show results matching title/arguments (delimit multiple options with a comma):
Do not show results matching title/arguments (delimit multiple options with a comma):


Python 3.11 Benchmarks BetaOpenBenchmarking.orgPhoronix Test SuiteAMD Ryzen 9 5950X 16-Core @ 3.40GHz (16 Cores / 32 Threads)ASUS ROG CROSSHAIR VIII HERO (WI-FI) (4006 BIOS)AMD Starship/Matisse32GB1000GB Sabrent Rocket 4.0 PlusAMD Radeon RX 6800 16GB (2475/1000MHz)AMD Navi 21 HDMI AudioASUS MG28URealtek RTL8125 2.5GbE + Intel I211 + Intel Wi-Fi 6 AX200Ubuntu 22.045.18.0-051800-generic (x86_64)GNOME Shell 42.0X Server + Wayland4.6 Mesa 22.0.1 (LLVM 13.0.1 DRM 3.46)1.2.204GCC 11.2.0ext43840x2160ProcessorMotherboardChipsetMemoryDiskGraphicsAudioMonitorNetworkOSKernelDesktopDisplay ServerOpenGLVulkanCompilerFile-SystemScreen ResolutionPython 3.11 Benchmarks Beta PerformanceSystem Logs- Transparent Huge Pages: madvise- --build=x86_64-linux-gnu --disable-vtable-verify --disable-werror --enable-bootstrap --enable-cet --enable-checking=release --enable-clocale=gnu --enable-default-pie --enable-gnu-unique-object --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,m2 --enable-libphobos-checking=release --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-link-serialization=2 --enable-multiarch --enable-multilib --enable-nls --enable-objc-gc=auto --enable-offload-targets=nvptx-none=/build/gcc-11-gBFGDP/gcc-11-11.2.0/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/gcc-11-gBFGDP/gcc-11-11.2.0/debian/tmp-gcn/usr --enable-plugin --enable-shared --enable-threads=posix --host=x86_64-linux-gnu --program-prefix=x86_64-linux-gnu- --target=x86_64-linux-gnu --with-abi=m64 --with-arch-32=i686 --with-build-config=bootstrap-lto-lean --with-default-libstdcxx-abi=new --with-gcc-major-version-only --with-multilib-list=m32,m64,mx32 --with-target-system-zlib=auto --with-tune=generic --without-cuda-driver -v - Scaling Governor: acpi-cpufreq schedutil (Boost: Enabled) - CPU Microcode: 0xa201016 - Python 3.8.13: Python 3.8.13- Python 3.9.13: Python 3.9.13- Python 3.10.4: Python 3.10.4- Python 3.11b: Python 3.11.0b1- itlb_multihit: Not affected + l1tf: Not affected + mds: Not affected + meltdown: Not affected + spec_store_bypass: Mitigation of SSB disabled via prctl + spectre_v1: Mitigation of usercopy/swapgs barriers and __user pointer sanitization + spectre_v2: Mitigation of Retpolines IBPB: conditional IBRS_FW STIBP: always-on RSB filling + srbds: Not affected + tsx_async_abort: Not affected

Python 3.8.13Python 3.9.13Python 3.10.4Python 3.11bResult OverviewPhoronix Test Suite100%123%146%168%191%PyPerformancePyPerformancePyPerformancePyPerformancePyPerformancePyPerformancePyPerformancePyPerformancePyPerformancePyPerformancePyPerformancePyBenchPyPerformancePyPerformancegoraytracechaosfloatcrypto_pyaespickle_pure_pythondjango_templatenbodyregex_compile2to3json_loadsT.F.A.T.Tpython_startuppathlib

Python 3.11 Benchmarks Betapyperformance: gopyperformance: raytracepyperformance: chaospyperformance: floatpyperformance: crypto_pyaespyperformance: pickle_pure_pythonpyperformance: django_templatepyperformance: nbodypyperformance: regex_compilepyperformance: 2to3pyperformance: json_loadspybench: Total For Average Test Timespyperformance: python_startuppyperformance: pathlibPython 3.8.13Python 3.9.13Python 3.10.4Python 3.11b19539090.788.386.535839.295.013524120.28276.3614.319539190.087.586.935138.599.613524317.98266.2913.817937087.279.884.035035.7100.113724218.88406.1814.210222252.252.152.722525.667.110118316.97125.4612.9OpenBenchmarking.org

PyPerformance

PyPerformance is the reference Python performance benchmark suite. Learn more via the OpenBenchmarking.org test page.

OpenBenchmarking.orgMilliseconds, Fewer Is BetterPyPerformance 1.0.0Benchmark: goPython 3.9.13Python 3.8.13Python 3.11bPython 3.10.44080120160200SE +/- 0.58, N = 3SE +/- 0.33, N = 3SE +/- 0.33, N = 3SE +/- 0.58, N = 3195195102179

OpenBenchmarking.orgMilliseconds, Fewer Is BetterPyPerformance 1.0.0Benchmark: raytracePython 3.9.13Python 3.8.13Python 3.11bPython 3.10.480160240320400SE +/- 1.53, N = 3SE +/- 0.33, N = 3SE +/- 0.33, N = 3SE +/- 0.88, N = 3391390222370

OpenBenchmarking.orgMilliseconds, Fewer Is BetterPyPerformance 1.0.0Benchmark: chaosPython 3.9.13Python 3.8.13Python 3.11bPython 3.10.420406080100SE +/- 0.03, N = 3SE +/- 0.03, N = 3SE +/- 0.20, N = 3SE +/- 0.20, N = 390.090.752.287.2

OpenBenchmarking.orgMilliseconds, Fewer Is BetterPyPerformance 1.0.0Benchmark: floatPython 3.9.13Python 3.8.13Python 3.11bPython 3.10.420406080100SE +/- 0.12, N = 3SE +/- 0.03, N = 3SE +/- 0.15, N = 3SE +/- 0.15, N = 387.588.352.179.8

OpenBenchmarking.orgMilliseconds, Fewer Is BetterPyPerformance 1.0.0Benchmark: crypto_pyaesPython 3.9.13Python 3.8.13Python 3.11bPython 3.10.420406080100SE +/- 0.07, N = 3SE +/- 0.10, N = 3SE +/- 0.09, N = 3SE +/- 0.15, N = 386.986.552.784.0

OpenBenchmarking.orgMilliseconds, Fewer Is BetterPyPerformance 1.0.0Benchmark: pickle_pure_pythonPython 3.9.13Python 3.8.13Python 3.11bPython 3.10.480160240320400SE +/- 0.33, N = 3SE +/- 0.58, N = 3SE +/- 0.00, N = 3SE +/- 0.88, N = 3351358225350

OpenBenchmarking.orgMilliseconds, Fewer Is BetterPyPerformance 1.0.0Benchmark: django_templatePython 3.9.13Python 3.8.13Python 3.11bPython 3.10.4918273645SE +/- 0.03, N = 3SE +/- 0.07, N = 3SE +/- 0.03, N = 3SE +/- 0.13, N = 338.539.225.635.7

OpenBenchmarking.orgMilliseconds, Fewer Is BetterPyPerformance 1.0.0Benchmark: nbodyPython 3.9.13Python 3.8.13Python 3.11bPython 3.10.420406080100SE +/- 0.20, N = 3SE +/- 0.35, N = 3SE +/- 0.29, N = 3SE +/- 0.49, N = 399.695.067.1100.1

OpenBenchmarking.orgMilliseconds, Fewer Is BetterPyPerformance 1.0.0Benchmark: regex_compilePython 3.9.13Python 3.8.13Python 3.11bPython 3.10.4306090120150SE +/- 0.33, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.33, N = 3135135101137

OpenBenchmarking.orgMilliseconds, Fewer Is BetterPyPerformance 1.0.0Benchmark: 2to3Python 3.9.13Python 3.8.13Python 3.11bPython 3.10.450100150200250SE +/- 0.88, N = 3SE +/- 0.33, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3243241183242

OpenBenchmarking.orgMilliseconds, Fewer Is BetterPyPerformance 1.0.0Benchmark: json_loadsPython 3.9.13Python 3.8.13Python 3.11bPython 3.10.4510152025SE +/- 0.00, N = 3SE +/- 0.03, N = 3SE +/- 0.00, N = 3SE +/- 0.06, N = 317.920.216.918.8

PyBench

This test profile reports the total time of the different average timed test results from PyBench. PyBench reports average test times for different functions such as BuiltinFunctionCalls and NestedForLoops, with this total result providing a rough estimate as to Python's average performance on a given system. This test profile runs PyBench each time for 20 rounds. Learn more via the OpenBenchmarking.org test page.

OpenBenchmarking.orgMilliseconds, Fewer Is BetterPyBench 2018-02-16Total For Average Test TimesPython 3.9.13Python 3.8.13Python 3.11bPython 3.10.42004006008001000SE +/- 3.18, N = 3SE +/- 5.57, N = 3SE +/- 1.76, N = 3SE +/- 4.63, N = 3826827712840

PyPerformance

PyPerformance is the reference Python performance benchmark suite. Learn more via the OpenBenchmarking.org test page.

OpenBenchmarking.orgMilliseconds, Fewer Is BetterPyPerformance 1.0.0Benchmark: python_startupPython 3.9.13Python 3.8.13Python 3.11bPython 3.10.4246810SE +/- 0.01, N = 3SE +/- 0.00, N = 3SE +/- 0.01, N = 3SE +/- 0.01, N = 36.296.365.466.18

OpenBenchmarking.orgMilliseconds, Fewer Is BetterPyPerformance 1.0.0Benchmark: pathlibPython 3.9.13Python 3.8.13Python 3.11bPython 3.10.448121620SE +/- 0.03, N = 3SE +/- 0.00, N = 3SE +/- 0.03, N = 3SE +/- 0.00, N = 313.814.312.914.2

14 Results Shown

PyPerformance:
  go
  raytrace
  chaos
  float
  crypto_pyaes
  pickle_pure_python
  django_template
  nbody
  regex_compile
  2to3
  json_loads
PyBench
PyPerformance:
  python_startup
  pathlib