Python 3.11 Benchmarks Beta

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

HTML result view exported from: https://openbenchmarking.org/result/2205310-PTS-PYTHON3127&rdt&grs.

Python 3.11 Benchmarks BetaProcessorMotherboardChipsetMemoryDiskGraphicsAudioMonitorNetworkOSKernelDesktopDisplay ServerOpenGLVulkanCompilerFile-SystemScreen ResolutionPython 3.10.4Python 3.11bPython 3.9.13Python 3.8.13AMD 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.0ext43840x2160OpenBenchmarking.orgKernel Details- Transparent Huge Pages: madviseCompiler Details- --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 Processor Details- Scaling Governor: acpi-cpufreq schedutil (Boost: Enabled) - CPU Microcode: 0xa201016Python Details- 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.13Security Details- 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.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.10.4Python 3.11bPython 3.9.13Python 3.8.1317937087.279.884.035035.7100.113724218.88406.1814.210222252.252.152.722525.667.110118316.97125.4612.919539190.087.586.935138.599.613524317.98266.2913.819539090.788.386.535839.295.013524120.28276.3614.3OpenBenchmarking.org

PyPerformance

Benchmark: go

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

PyPerformance

Benchmark: raytrace

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

PyPerformance

Benchmark: chaos

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

PyPerformance

Benchmark: float

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

PyPerformance

Benchmark: crypto_pyaes

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

PyPerformance

Benchmark: pickle_pure_python

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

PyPerformance

Benchmark: django_template

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

PyPerformance

Benchmark: nbody

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

PyPerformance

Benchmark: regex_compile

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

PyPerformance

Benchmark: 2to3

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

PyPerformance

Benchmark: json_loads

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

PyBench

Total For Average Test Times

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

PyPerformance

Benchmark: python_startup

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

PyPerformance

Benchmark: pathlib

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


Phoronix Test Suite v10.8.5