Python 3.11 Benchmarks Python 3.11 benchmarks by Michael Larabel. Python 3.8.15: Processor: AMD Ryzen 9 5950X 16-Core @ 3.40GHz (16 Cores / 32 Threads), Motherboard: ASUS ROG CROSSHAIR VIII HERO (WI-FI) (4006 BIOS), Chipset: AMD Starship/Matisse, Memory: 32GB, Disk: 500GB Western Digital WDS500G3X0C-00SJG0 + 32GB Flash Drive, Graphics: Intel DG2 [Arc A380], Audio: Intel Device 4f92, Network: Realtek RTL8125 2.5GbE + Intel I211 + Intel Wi-Fi 6 AX200 OS: Ubuntu 22.10, Kernel: 5.19.0-23-generic (x86_64), Desktop: GNOME Shell 43.0, Display Server: X Server 1.21.1.4, OpenGL: 4.5 Mesa 22.2.1 (LLVM 15.0.2 256 bits), Vulkan: 1.3.224, Compiler: GCC 12.2.0, File-System: ext4, Screen Resolution: 3840x2160 Python 3.9.15: Processor: AMD Ryzen 9 5950X 16-Core @ 3.40GHz (16 Cores / 32 Threads), Motherboard: ASUS ROG CROSSHAIR VIII HERO (WI-FI) (4006 BIOS), Chipset: AMD Starship/Matisse, Memory: 32GB, Disk: 500GB Western Digital WDS500G3X0C-00SJG0 + 32GB Flash Drive, Graphics: Intel DG2 [Arc A380], Audio: Intel Device 4f92, Network: Realtek RTL8125 2.5GbE + Intel I211 + Intel Wi-Fi 6 AX200 OS: Ubuntu 22.10, Kernel: 5.19.0-23-generic (x86_64), Desktop: GNOME Shell 43.0, Display Server: X Server 1.21.1.4, OpenGL: 4.5 Mesa 22.2.1 (LLVM 15.0.2 256 bits), Vulkan: 1.3.224, Compiler: GCC 12.2.0, File-System: ext4, Screen Resolution: 3840x2160 Python 3.10.6: Processor: AMD Ryzen 9 5950X 16-Core @ 3.40GHz (16 Cores / 32 Threads), Motherboard: ASUS ROG CROSSHAIR VIII HERO (WI-FI) (4006 BIOS), Chipset: AMD Starship/Matisse, Memory: 32GB, Disk: 500GB Western Digital WDS500G3X0C-00SJG0 + 32GB Flash Drive, Graphics: Intel DG2 [Arc A380], Audio: Intel Device 4f92, Network: Realtek RTL8125 2.5GbE + Intel I211 + Intel Wi-Fi 6 AX200 OS: Ubuntu 22.10, Kernel: 5.19.0-23-generic (x86_64), Desktop: GNOME Shell 43.0, Display Server: X Server 1.21.1.4, OpenGL: 4.5 Mesa 22.2.1 (LLVM 15.0.2 256 bits), Vulkan: 1.3.224, Compiler: GCC 12.2.0, File-System: ext4, Screen Resolution: 3840x2160 Python 3.11.0: Processor: AMD Ryzen 9 5950X 16-Core @ 3.40GHz (16 Cores / 32 Threads), Motherboard: ASUS ROG CROSSHAIR VIII HERO (WI-FI) (4006 BIOS), Chipset: AMD Starship/Matisse, Memory: 32GB, Disk: 500GB Western Digital WDS500G3X0C-00SJG0 + 32GB Flash Drive, Graphics: Intel DG2 [Arc A380], Audio: Intel Device 4f92, Network: Realtek RTL8125 2.5GbE + Intel I211 + Intel Wi-Fi 6 AX200 OS: Ubuntu 22.10, Kernel: 5.19.0-23-generic (x86_64), Desktop: GNOME Shell 43.0, Display Server: X Server 1.21.1.4, OpenGL: 4.5 Mesa 22.2.1 (LLVM 15.0.2 256 bits), Vulkan: 1.3.224, Compiler: GCC 12.2.0, File-System: ext4, Screen Resolution: 3840x2160 PyPerformance 1.0.0 Benchmark: go Milliseconds < Lower Is Better Python 3.8.15 . 171 |===================================================== Python 3.9.15 . 186 |========================================================== Python 3.10.6 . 167 |==================================================== Python 3.11.0 . 103 |================================ PyPerformance 1.0.0 Benchmark: 2to3 Milliseconds < Lower Is Better Python 3.8.15 . 232 |========================================================== Python 3.9.15 . 228 |========================================================= Python 3.10.6 . 222 |======================================================== Python 3.11.0 . 174 |============================================ PyPerformance 1.0.0 Benchmark: chaos Milliseconds < Lower Is Better Python 3.8.15 . 78.2 |======================================================== Python 3.9.15 . 79.2 |========================================================= Python 3.10.6 . 76.2 |======================================================= Python 3.11.0 . 47.6 |================================== PyPerformance 1.0.0 Benchmark: float Milliseconds < Lower Is Better Python 3.8.15 . 71.9 |================================================= Python 3.9.15 . 83.2 |========================================================= Python 3.10.6 . 73.3 |================================================== Python 3.11.0 . 49.8 |================================== PyPerformance 1.0.0 Benchmark: nbody Milliseconds < Lower Is Better Python 3.8.15 . 96.4 |========================================================= Python 3.9.15 . 94.3 |======================================================== Python 3.10.6 . 95.4 |======================================================== Python 3.11.0 . 64.3 |====================================== PyPerformance 1.0.0 Benchmark: logging Milliseconds < Lower Is Better Python 3.8.15 . 5.68 |========================================================= Python 3.9.15 . 5.65 |========================================================= Python 3.10.6 . 5.59 |======================================================== Python 3.11.0 . 4.22 |========================================== PyPerformance 1.0.0 Benchmark: pathlib Milliseconds < Lower Is Better Python 3.8.15 . 13.2 |======================================================== Python 3.9.15 . 13.3 |======================================================== Python 3.10.6 . 13.5 |========================================================= Python 3.11.0 . 12.4 |==================================================== PyPerformance 1.0.0 Benchmark: pidigits Milliseconds < Lower Is Better Python 3.8.15 . 127 |========================================================= Python 3.9.15 . 128 |========================================================== Python 3.10.6 . 129 |========================================================== Python 3.11.0 . 126 |========================================================= PyPerformance 1.0.0 Benchmark: raytrace Milliseconds < Lower Is Better Python 3.8.15 . 327 |====================================================== Python 3.9.15 . 351 |========================================================== Python 3.10.6 . 336 |======================================================== Python 3.11.0 . 211 |=================================== PyPerformance 1.0.0 Benchmark: regex_v8 Milliseconds < Lower Is Better Python 3.8.15 . 17.2 |===================================================== Python 3.9.15 . 17.7 |======================================================= Python 3.10.6 . 18.4 |========================================================= Python 3.11.0 . 15.6 |================================================ PyPerformance 1.0.0 Benchmark: xml_etree Milliseconds < Lower Is Better Python 3.8.15 . 50.2 |======================================================= Python 3.9.15 . 50.2 |======================================================= Python 3.10.6 . 51.6 |========================================================= Python 3.11.0 . 38.8 |=========================================== PyPerformance 1.0.0 Benchmark: json_loads Milliseconds < Lower Is Better Python 3.8.15 . 16.9 |====================================================== Python 3.9.15 . 17.6 |======================================================== Python 3.10.6 . 18.0 |========================================================= Python 3.11.0 . 16.9 |====================================================== PyPerformance 1.0.0 Benchmark: crypto_pyaes Milliseconds < Lower Is Better Python 3.8.15 . 76.9 |======================================================== Python 3.9.15 . 78.5 |========================================================= Python 3.10.6 . 76.6 |======================================================== Python 3.11.0 . 49.7 |==================================== PyPerformance 1.0.0 Benchmark: tornado_http Milliseconds < Lower Is Better Python 3.8.15 . 101.0 |===================================================== Python 3.9.15 . 107.0 |======================================================== Python 3.10.6 . 106.0 |======================================================= Python 3.11.0 . 81.4 |=========================================== PyPerformance 1.0.0 Benchmark: regex_compile Milliseconds < Lower Is Better Python 3.8.15 . 123.0 |======================================================= Python 3.9.15 . 126.0 |======================================================== Python 3.10.6 . 124.0 |======================================================= Python 3.11.0 . 95.0 |========================================== PyPerformance 1.0.0 Benchmark: python_startup Milliseconds < Lower Is Better Python 3.8.15 . 5.98 |======================================================== Python 3.9.15 . 6.12 |========================================================= Python 3.10.6 . 6.00 |======================================================== Python 3.11.0 . 5.27 |================================================= PyPerformance 1.0.0 Benchmark: django_template Milliseconds < Lower Is Better Python 3.8.15 . 31.5 |=================================================== Python 3.9.15 . 35.0 |========================================================= Python 3.10.6 . 31.5 |=================================================== Python 3.11.0 . 23.9 |======================================= PyPerformance 1.0.0 Benchmark: pickle_pure_python Milliseconds < Lower Is Better Python 3.8.15 . 307 |======================================================= Python 3.9.15 . 323 |========================================================== Python 3.10.6 . 305 |======================================================= Python 3.11.0 . 213 |====================================== PyPerformance 1.0.0 Benchmark: sqlalchemy_declarative Milliseconds < Lower Is Better Python 3.8.15 . 105.0 |====================================================== Python 3.9.15 . 109.0 |======================================================== Python 3.10.6 . 106.0 |====================================================== Python 3.11.0 . 86.9 |=============================================