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

Limit displaying results to tests within:

Programmer / Developer System Benchmarks 2 Tests
Python 2 Tests

Statistics

Show Overall Harmonic Mean(s)
Show Overall Geometric Mean
Show Geometric Means Per-Suite/Category
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
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 Hiding All Results Option
  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.10.4: Python 3.10.4- Python 3.11b: Python 3.11.0b1- Python 3.9.13: Python 3.9.13- Python 3.8.13: Python 3.8.13- 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.10.4Python 3.11bPython 3.9.13Python 3.8.13Result 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: 2to3pyperformance: chaospyperformance: floatpyperformance: nbodypyperformance: pathlibpyperformance: raytracepyperformance: json_loadspyperformance: crypto_pyaespyperformance: regex_compilepyperformance: python_startuppyperformance: django_templatepyperformance: pickle_pure_pythonpybench: Total For Average Test TimesPython 3.10.4Python 3.11bPython 3.9.13Python 3.8.1317924287.279.8100.114.237018.884.01376.1835.735084010218352.252.167.112.922216.952.71015.4625.622571219524390.087.599.613.839117.986.91356.2938.535182619524190.788.395.014.339020.286.51356.3639.2358827OpenBenchmarking.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.10.4Python 3.11bPython 3.9.13Python 3.8.134080120160200SE +/- 0.58, N = 3SE +/- 0.33, N = 3SE +/- 0.58, N = 3SE +/- 0.33, N = 3179102195195

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

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

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

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

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

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

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

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

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

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

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

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

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.10.4Python 3.11bPython 3.9.13Python 3.8.132004006008001000SE +/- 4.63, N = 3SE +/- 1.76, N = 3SE +/- 3.18, N = 3SE +/- 5.57, N = 3840712826827