Python 3.11 Benchmarks

Python 3.11 benchmarks by Michael Larabel.

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

Python 3.11 BenchmarksProcessorMotherboardChipsetMemoryDiskGraphicsAudioNetworkOSKernelDesktopDisplay ServerOpenGLVulkanCompilerFile-SystemScreen ResolutionPython 3.10.6Python 3.11.0Python 3.9.15Python 3.8.15AMD 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.10.6: Python 3.10.8- Python 3.11.0: Python 3.10.8- Python 3.9.15: Python 3.9.15- Python 3.8.15: Python 3.8.15 + Python 3.10.7Security 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.10.6Python 3.11.0Python 3.9.15Python 3.8.1516722276.273.395.45.5913.512933618.451.618.076.61061246.0031.530510610317447.649.864.34.2212.412621115.638.816.949.781.495.05.2723.921386.918622879.283.294.35.6513.312835117.750.217.678.51071266.1235.032310917123278.271.996.45.6813.212732717.250.216.976.91011235.9831.5307105OpenBenchmarking.org

PyPerformance

Benchmark: go

OpenBenchmarking.orgMilliseconds, Fewer Is BetterPyPerformance 1.0.0Benchmark: goPython 3.10.6Python 3.11.0Python 3.9.15Python 3.8.154080120160200SE +/- 0.33, N = 3SE +/- 0.33, N = 3SE +/- 0.58, N = 3SE +/- 0.58, N = 3167103186171

PyPerformance

Benchmark: 2to3

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

PyPerformance

Benchmark: chaos

OpenBenchmarking.orgMilliseconds, Fewer Is BetterPyPerformance 1.0.0Benchmark: chaosPython 3.10.6Python 3.11.0Python 3.9.15Python 3.8.1520406080100SE +/- 0.09, N = 3SE +/- 0.09, N = 3SE +/- 0.09, N = 3SE +/- 0.29, N = 376.247.679.278.2

PyPerformance

Benchmark: float

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

PyPerformance

Benchmark: nbody

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

PyPerformance

Benchmark: logging

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

PyPerformance

Benchmark: pathlib

OpenBenchmarking.orgMilliseconds, Fewer Is BetterPyPerformance 1.0.0Benchmark: pathlibPython 3.10.6Python 3.11.0Python 3.9.15Python 3.8.153691215SE +/- 0.03, N = 3SE +/- 0.03, N = 3SE +/- 0.03, N = 3SE +/- 0.03, N = 313.512.413.313.2

PyPerformance

Benchmark: pidigits

OpenBenchmarking.orgMilliseconds, Fewer Is BetterPyPerformance 1.0.0Benchmark: pidigitsPython 3.10.6Python 3.11.0Python 3.9.15Python 3.8.15306090120150SE +/- 0.33, N = 3SE +/- 0.33, N = 3SE +/- 0.33, N = 3SE +/- 0.00, N = 3129126128127

PyPerformance

Benchmark: raytrace

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

PyPerformance

Benchmark: regex_v8

OpenBenchmarking.orgMilliseconds, Fewer Is BetterPyPerformance 1.0.0Benchmark: regex_v8Python 3.10.6Python 3.11.0Python 3.9.15Python 3.8.15510152025SE +/- 0.03, N = 3SE +/- 0.03, N = 3SE +/- 0.03, N = 3SE +/- 0.03, N = 318.415.617.717.2

PyPerformance

Benchmark: xml_etree

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

PyPerformance

Benchmark: json_loads

OpenBenchmarking.orgMilliseconds, Fewer Is BetterPyPerformance 1.0.0Benchmark: json_loadsPython 3.10.6Python 3.11.0Python 3.9.15Python 3.8.1548121620SE +/- 0.03, N = 3SE +/- 0.00, N = 3SE +/- 0.03, N = 3SE +/- 0.03, N = 318.016.917.616.9

PyPerformance

Benchmark: crypto_pyaes

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

PyPerformance

Benchmark: tornado_http

OpenBenchmarking.orgMilliseconds, Fewer Is BetterPyPerformance 1.0.0Benchmark: tornado_httpPython 3.10.6Python 3.11.0Python 3.9.15Python 3.8.1520406080100SE +/- 0.33, N = 3SE +/- 0.39, N = 3SE +/- 0.33, N = 3SE +/- 0.33, N = 3106.081.4107.0101.0

PyPerformance

Benchmark: regex_compile

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

PyPerformance

Benchmark: python_startup

OpenBenchmarking.orgMilliseconds, Fewer Is BetterPyPerformance 1.0.0Benchmark: python_startupPython 3.10.6Python 3.11.0Python 3.9.15Python 3.8.15246810SE +/- 0.01, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.01, N = 36.005.276.125.98

PyPerformance

Benchmark: django_template

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

PyPerformance

Benchmark: pickle_pure_python

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

PyPerformance

Benchmark: sqlalchemy_declarative

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


Phoronix Test Suite v10.8.4