Python 3.11 Benchmarks

Python 3.11 benchmarks by Michael Larabel.

HTML result view exported from: https://openbenchmarking.org/result/2210257-NE-PYTHON31168.

Python 3.11 BenchmarksProcessorMotherboardChipsetMemoryDiskGraphicsAudioNetworkOSKernelDesktopDisplay ServerOpenGLVulkanCompilerFile-SystemScreen ResolutionPython 3.8.15Python 3.9.15Python 3.10.6Python 3.11.0AMD Ryzen 9 5950X 16-Core @ 3.40GHz (16 Cores / 32 Threads)ASUS ROG CROSSHAIR VIII HERO (WI-FI) (4006 BIOS)AMD Starship/Matisse32GB500GB Western Digital WDS500G3X0C-00SJG0 + 32GB Flash DriveIntel DG2 [Arc A380]Intel Device 4f92Realtek RTL8125 2.5GbE + Intel I211 + Intel Wi-Fi 6 AX200Ubuntu 22.105.19.0-23-generic (x86_64)GNOME Shell 43.0X Server 1.21.1.44.5 Mesa 22.2.1 (LLVM 15.0.2 256 bits)1.3.224GCC 12.2.0ext43840x2160OpenBenchmarking.orgKernel Details- Transparent Huge Pages: madviseCompiler Details- --build=x86_64-linux-gnu --disable-vtable-verify --disable-werror --enable-cet --enable-checking=release --enable-clocale=gnu --enable-default-pie --enable-gnu-unique-object --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++,m2 --enable-libphobos-checking=release --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-multiarch --enable-multilib --enable-nls --enable-objc-gc=auto --enable-offload-defaulted --enable-offload-targets=nvptx-none=/build/gcc-12-U8K4Qv/gcc-12-12.2.0/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/gcc-12-U8K4Qv/gcc-12-12.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-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.8.15: Python 3.8.15 + Python 3.10.7- Python 3.9.15: Python 3.9.15- Python 3.10.6: Python 3.10.8- Python 3.11.0: Python 3.10.8Security Details- itlb_multihit: Not affected + l1tf: Not affected + mds: Not affected + meltdown: Not affected + mmio_stale_data: Not affected + retbleed: 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 PBRSB-eIBRS: Not affected + srbds: Not affected + tsx_async_abort: Not affected

Python 3.11 Benchmarkspyperformance: gopyperformance: 2to3pyperformance: chaospyperformance: floatpyperformance: nbodypyperformance: loggingpyperformance: pathlibpyperformance: pidigitspyperformance: raytracepyperformance: regex_v8pyperformance: xml_etreepyperformance: json_loadspyperformance: crypto_pyaespyperformance: tornado_httppyperformance: regex_compilepyperformance: python_startuppyperformance: django_templatepyperformance: pickle_pure_pythonpyperformance: sqlalchemy_declarativePython 3.8.15Python 3.9.15Python 3.10.6Python 3.11.017123278.271.996.45.6813.212732717.250.216.976.91011235.9831.530710518622879.283.294.35.6513.312835117.750.217.678.51071266.1235.032310916722276.273.395.45.5913.512933618.451.618.076.61061246.0031.530510610317447.649.864.34.2212.412621115.638.816.949.781.495.05.2723.921386.9OpenBenchmarking.org

PyPerformance

Benchmark: go

OpenBenchmarking.orgMilliseconds, Fewer Is BetterPyPerformance 1.0.0Benchmark: goPython 3.8.15Python 3.9.15Python 3.10.6Python 3.11.04080120160200SE +/- 0.58, N = 3SE +/- 0.58, N = 3SE +/- 0.33, N = 3SE +/- 0.33, N = 3171186167103

PyPerformance

Benchmark: 2to3

OpenBenchmarking.orgMilliseconds, Fewer Is BetterPyPerformance 1.0.0Benchmark: 2to3Python 3.8.15Python 3.9.15Python 3.10.6Python 3.11.050100150200250SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.33, N = 3SE +/- 0.58, N = 3232228222174

PyPerformance

Benchmark: chaos

OpenBenchmarking.orgMilliseconds, Fewer Is BetterPyPerformance 1.0.0Benchmark: chaosPython 3.8.15Python 3.9.15Python 3.10.6Python 3.11.020406080100SE +/- 0.29, N = 3SE +/- 0.09, N = 3SE +/- 0.09, N = 3SE +/- 0.09, N = 378.279.276.247.6

PyPerformance

Benchmark: float

OpenBenchmarking.orgMilliseconds, Fewer Is BetterPyPerformance 1.0.0Benchmark: floatPython 3.8.15Python 3.9.15Python 3.10.6Python 3.11.020406080100SE +/- 0.06, N = 3SE +/- 0.22, N = 3SE +/- 0.07, N = 3SE +/- 0.03, N = 371.983.273.349.8

PyPerformance

Benchmark: nbody

OpenBenchmarking.orgMilliseconds, Fewer Is BetterPyPerformance 1.0.0Benchmark: nbodyPython 3.8.15Python 3.9.15Python 3.10.6Python 3.11.020406080100SE +/- 0.22, N = 3SE +/- 0.30, N = 3SE +/- 0.49, N = 3SE +/- 0.09, N = 396.494.395.464.3

PyPerformance

Benchmark: logging

OpenBenchmarking.orgMilliseconds, Fewer Is BetterPyPerformance 1.0.0Benchmark: loggingPython 3.8.15Python 3.9.15Python 3.10.6Python 3.11.01.2782.5563.8345.1126.39SE +/- 0.02, N = 3SE +/- 0.01, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 35.685.655.594.22

PyPerformance

Benchmark: pathlib

OpenBenchmarking.orgMilliseconds, Fewer Is BetterPyPerformance 1.0.0Benchmark: pathlibPython 3.8.15Python 3.9.15Python 3.10.6Python 3.11.03691215SE +/- 0.03, N = 3SE +/- 0.03, N = 3SE +/- 0.03, N = 3SE +/- 0.03, N = 313.213.313.512.4

PyPerformance

Benchmark: pidigits

OpenBenchmarking.orgMilliseconds, Fewer Is BetterPyPerformance 1.0.0Benchmark: pidigitsPython 3.8.15Python 3.9.15Python 3.10.6Python 3.11.0306090120150SE +/- 0.00, N = 3SE +/- 0.33, N = 3SE +/- 0.33, N = 3SE +/- 0.33, N = 3127128129126

PyPerformance

Benchmark: raytrace

OpenBenchmarking.orgMilliseconds, Fewer Is BetterPyPerformance 1.0.0Benchmark: raytracePython 3.8.15Python 3.9.15Python 3.10.6Python 3.11.080160240320400SE +/- 0.88, N = 3SE +/- 1.53, N = 3SE +/- 0.88, N = 3SE +/- 0.00, N = 3327351336211

PyPerformance

Benchmark: regex_v8

OpenBenchmarking.orgMilliseconds, Fewer Is BetterPyPerformance 1.0.0Benchmark: regex_v8Python 3.8.15Python 3.9.15Python 3.10.6Python 3.11.0510152025SE +/- 0.03, N = 3SE +/- 0.03, N = 3SE +/- 0.03, N = 3SE +/- 0.03, N = 317.217.718.415.6

PyPerformance

Benchmark: xml_etree

OpenBenchmarking.orgMilliseconds, Fewer Is BetterPyPerformance 1.0.0Benchmark: xml_etreePython 3.8.15Python 3.9.15Python 3.10.6Python 3.11.01224364860SE +/- 0.15, N = 3SE +/- 0.21, N = 3SE +/- 0.18, N = 3SE +/- 0.10, N = 350.250.251.638.8

PyPerformance

Benchmark: json_loads

OpenBenchmarking.orgMilliseconds, Fewer Is BetterPyPerformance 1.0.0Benchmark: json_loadsPython 3.8.15Python 3.9.15Python 3.10.6Python 3.11.048121620SE +/- 0.03, N = 3SE +/- 0.03, N = 3SE +/- 0.03, N = 3SE +/- 0.00, N = 316.917.618.016.9

PyPerformance

Benchmark: crypto_pyaes

OpenBenchmarking.orgMilliseconds, Fewer Is BetterPyPerformance 1.0.0Benchmark: crypto_pyaesPython 3.8.15Python 3.9.15Python 3.10.6Python 3.11.020406080100SE +/- 0.07, N = 3SE +/- 0.12, N = 3SE +/- 0.09, N = 3SE +/- 0.06, N = 376.978.576.649.7

PyPerformance

Benchmark: tornado_http

OpenBenchmarking.orgMilliseconds, Fewer Is BetterPyPerformance 1.0.0Benchmark: tornado_httpPython 3.8.15Python 3.9.15Python 3.10.6Python 3.11.020406080100SE +/- 0.33, N = 3SE +/- 0.33, N = 3SE +/- 0.33, N = 3SE +/- 0.39, N = 3101.0107.0106.081.4

PyPerformance

Benchmark: regex_compile

OpenBenchmarking.orgMilliseconds, Fewer Is BetterPyPerformance 1.0.0Benchmark: regex_compilePython 3.8.15Python 3.9.15Python 3.10.6Python 3.11.0306090120150SE +/- 0.33, N = 3SE +/- 0.67, N = 3SE +/- 0.00, N = 3SE +/- 0.09, N = 3123.0126.0124.095.0

PyPerformance

Benchmark: python_startup

OpenBenchmarking.orgMilliseconds, Fewer Is BetterPyPerformance 1.0.0Benchmark: python_startupPython 3.8.15Python 3.9.15Python 3.10.6Python 3.11.0246810SE +/- 0.01, N = 3SE +/- 0.00, N = 3SE +/- 0.01, N = 3SE +/- 0.00, N = 35.986.126.005.27

PyPerformance

Benchmark: django_template

OpenBenchmarking.orgMilliseconds, Fewer Is BetterPyPerformance 1.0.0Benchmark: django_templatePython 3.8.15Python 3.9.15Python 3.10.6Python 3.11.0816243240SE +/- 0.09, N = 3SE +/- 0.13, N = 3SE +/- 0.00, N = 3SE +/- 0.03, N = 331.535.031.523.9

PyPerformance

Benchmark: pickle_pure_python

OpenBenchmarking.orgMilliseconds, Fewer Is BetterPyPerformance 1.0.0Benchmark: pickle_pure_pythonPython 3.8.15Python 3.9.15Python 3.10.6Python 3.11.070140210280350SE +/- 0.33, N = 3SE +/- 2.19, N = 3SE +/- 0.00, N = 3SE +/- 0.33, N = 3307323305213

PyPerformance

Benchmark: sqlalchemy_declarative

OpenBenchmarking.orgMilliseconds, Fewer Is BetterPyPerformance 1.0.0Benchmark: sqlalchemy_declarativePython 3.8.15Python 3.9.15Python 3.10.6Python 3.11.020406080100SE +/- 0.33, N = 3SE +/- 0.00, N = 3SE +/- 0.33, N = 3SE +/- 0.10, N = 3105.0109.0106.086.9


Phoronix Test Suite v10.8.4