Python 3.11 Benchmarks Beta Python 3.11 (beta) benchmarks by Michael Larabel for a future article against Pyston and PyPy. More Python 3.11 benchmarks to come on Phoronix. Python 3.10.4: 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: 1000GB Sabrent Rocket 4.0 Plus, Graphics: AMD Radeon RX 6800 16GB (2475/1000MHz), Audio: AMD Navi 21 HDMI Audio, Monitor: ASUS MG28U, Network: Realtek RTL8125 2.5GbE + Intel I211 + Intel Wi-Fi 6 AX200 OS: Ubuntu 22.04, Kernel: 5.18.0-051800-generic (x86_64), Desktop: GNOME Shell 42.0, Display Server: X Server + Wayland, OpenGL: 4.6 Mesa 22.0.1 (LLVM 13.0.1 DRM 3.46), Vulkan: 1.2.204, Compiler: GCC 11.2.0, File-System: ext4, Screen Resolution: 3840x2160 Python 3.11b1: 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: 1000GB Sabrent Rocket 4.0 Plus, Graphics: AMD Radeon RX 6800 16GB (2475/1000MHz), Audio: AMD Navi 21 HDMI Audio, Monitor: ASUS MG28U, Network: Realtek RTL8125 2.5GbE + Intel I211 + Intel Wi-Fi 6 AX200 OS: Ubuntu 22.04, Kernel: 5.18.0-051800-generic (x86_64), Desktop: GNOME Shell 42.0, Display Server: X Server + Wayland, OpenGL: 4.6 Mesa 22.0.1 (LLVM 13.0.1 DRM 3.46), Vulkan: 1.2.204, Compiler: GCC 11.2.0, File-System: ext4, Screen Resolution: 3840x2160 Python 3.9.13: 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: 1000GB Sabrent Rocket 4.0 Plus, Graphics: AMD Radeon RX 6800 16GB (2475/1000MHz), Audio: AMD Navi 21 HDMI Audio, Monitor: ASUS MG28U, Network: Realtek RTL8125 2.5GbE + Intel I211 + Intel Wi-Fi 6 AX200 OS: Ubuntu 22.04, Kernel: 5.18.0-051800-generic (x86_64), Desktop: GNOME Shell 42.0, Display Server: X Server + Wayland, OpenGL: 4.6 Mesa 22.0.1 (LLVM 13.0.1 DRM 3.46), Vulkan: 1.2.204, Compiler: GCC 11.2.0, File-System: ext4, Screen Resolution: 3840x2160 Python 3.8.13: 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: 1000GB Sabrent Rocket 4.0 Plus, Graphics: AMD Radeon RX 6800 16GB (2475/1000MHz), Audio: AMD Navi 21 HDMI Audio, Monitor: ASUS MG28U, Network: Realtek RTL8125 2.5GbE + Intel I211 + Intel Wi-Fi 6 AX200 OS: Ubuntu 22.04, Kernel: 5.18.0-051800-generic (x86_64), Desktop: GNOME Shell 42.0, Display Server: X Server + Wayland, OpenGL: 4.6 Mesa 22.0.1 (LLVM 13.0.1 DRM 3.46), Vulkan: 1.2.204, Compiler: GCC 11.2.0, File-System: ext4, Screen Resolution: 3840x2160 Python 3.11b3: 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: 1000GB Sabrent Rocket 4.0 Plus, Graphics: AMD Radeon RX 6800 16GB (2475/1000MHz), Audio: AMD Navi 21 HDMI Audio, Monitor: ASUS MG28U, Network: Realtek RTL8125 2.5GbE + Intel I211 + Intel Wi-Fi 6 AX200 OS: Ubuntu 22.04, Kernel: 5.18.0-051800-generic (x86_64), Desktop: GNOME Shell 42.0, Display Server: X Server + Wayland, OpenGL: 4.6 Mesa 22.0.1 (LLVM 13.0.1 DRM 3.46), Vulkan: 1.2.204, Compiler: GCC 11.2.0, File-System: ext4, Screen Resolution: 3840x2160 Pyston 2.3.3: 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: 1000GB Sabrent Rocket 4.0 Plus, Graphics: AMD Radeon RX 6800 16GB (2475/1000MHz), Audio: AMD Navi 21 HDMI Audio, Monitor: ASUS MG28U, Network: Realtek RTL8125 2.5GbE + Intel I211 + Intel Wi-Fi 6 AX200 OS: Ubuntu 22.04, Kernel: 5.18.0-051800-generic (x86_64), Desktop: GNOME Shell 42.0, Display Server: X Server + Wayland, OpenGL: 4.6 Mesa 22.0.1 (LLVM 13.0.1 DRM 3.46), Vulkan: 1.2.204, Compiler: GCC 11.2.0, File-System: ext4, Screen Resolution: 3840x2160 PyPy 3.9-v7.3.9: 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: 1000GB Sabrent Rocket 4.0 Plus, Graphics: AMD Radeon RX 6800 16GB (2475/1000MHz), Audio: AMD Navi 21 HDMI Audio, Monitor: ASUS MG28U, Network: Realtek RTL8125 2.5GbE + Intel I211 + Intel Wi-Fi 6 AX200 OS: Ubuntu 22.04, Kernel: 5.18.0-051800-generic (x86_64), Desktop: GNOME Shell 42.0, Display Server: X Server + Wayland, OpenGL: 4.6 Mesa 22.0.1 (LLVM 13.0.1 DRM 3.46), Vulkan: 1.2.204, Compiler: GCC 11.2.0, File-System: ext4, Screen Resolution: 3840x2160 PyBench 2018-02-16 Total For Average Test Times Milliseconds < Lower Is Better Python 3.10.4 ... 840 |======================================================== Python 3.11b1 ... 712 |=============================================== Python 3.9.13 ... 826 |======================================================= Python 3.8.13 ... 827 |======================================================= Python 3.11b3 ... 691 |============================================== Pyston 2.3.3 .... 408 |=========================== PyPy 3.9-v7.3.9 . 233 |================ PyPerformance 1.0.0 Benchmark: go Milliseconds < Lower Is Better Python 3.10.4 ... 179.0 |================================================== Python 3.11b1 ... 102.0 |============================ Python 3.9.13 ... 195.0 |====================================================== Python 3.8.13 ... 195.0 |====================================================== Python 3.11b3 ... 106.0 |============================= Pyston 2.3.3 .... 92.3 |========================== PyPy 3.9-v7.3.9 . 92.4 |========================== PyPerformance 1.0.0 Benchmark: 2to3 Milliseconds < Lower Is Better Python 3.10.4 ... 242 |======================================================== Python 3.11b1 ... 183 |========================================== Python 3.9.13 ... 243 |======================================================== Python 3.8.13 ... 241 |======================================================== Python 3.11b3 ... 187 |=========================================== Pyston 2.3.3 .... 150 |=================================== PyPy 3.9-v7.3.9 . 150 |=================================== PyPerformance 1.0.0 Benchmark: chaos Milliseconds < Lower Is Better Python 3.10.4 ... 87.2 |===================================================== Python 3.11b1 ... 52.2 |================================ Python 3.9.13 ... 90.0 |======================================================= Python 3.8.13 ... 90.7 |======================================================= Python 3.11b3 ... 52.9 |================================ Pyston 2.3.3 .... 30.9 |=================== PyPy 3.9-v7.3.9 . 30.9 |=================== PyPerformance 1.0.0 Benchmark: float Milliseconds < Lower Is Better Python 3.10.4 ... 79.8 |================================================== Python 3.11b1 ... 52.1 |================================ Python 3.9.13 ... 87.5 |======================================================= Python 3.8.13 ... 88.3 |======================================================= Python 3.11b3 ... 54.0 |================================== Pyston 2.3.3 .... 39.7 |========================= PyPy 3.9-v7.3.9 . 39.9 |========================= PyPerformance 1.0.0 Benchmark: nbody Milliseconds < Lower Is Better Python 3.10.4 ... 100.1 |====================================================== Python 3.11b1 ... 67.1 |==================================== Python 3.9.13 ... 99.6 |====================================================== Python 3.8.13 ... 95.0 |=================================================== Python 3.11b3 ... 65.7 |=================================== Pyston 2.3.3 .... 33.6 |================== PyPy 3.9-v7.3.9 . 33.5 |================== PyPerformance 1.0.0 Benchmark: pathlib Milliseconds < Lower Is Better Python 3.10.4 ... 14.2 |======================================================= Python 3.11b1 ... 12.9 |================================================== Python 3.9.13 ... 13.8 |===================================================== Python 3.8.13 ... 14.3 |======================================================= Python 3.11b3 ... 12.8 |================================================= Pyston 2.3.3 .... 10.2 |======================================= PyPy 3.9-v7.3.9 . 10.3 |======================================== PyPerformance 1.0.0 Benchmark: raytrace Milliseconds < Lower Is Better Python 3.10.4 ... 370 |===================================================== Python 3.11b1 ... 222 |================================ Python 3.9.13 ... 391 |======================================================== Python 3.8.13 ... 390 |======================================================== Python 3.11b3 ... 228 |================================= Pyston 2.3.3 .... 161 |======================= PyPy 3.9-v7.3.9 . 161 |======================= PyPerformance 1.0.0 Benchmark: json_loads Milliseconds < Lower Is Better Python 3.10.4 ... 18.8 |=================================================== Python 3.11b1 ... 16.9 |============================================== Python 3.9.13 ... 17.9 |================================================= Python 3.8.13 ... 20.2 |======================================================= Python 3.11b3 ... 16.5 |============================================= Pyston 2.3.3 .... 15.0 |========================================= PyPy 3.9-v7.3.9 . 15.1 |========================================= PyPerformance 1.0.0 Benchmark: crypto_pyaes Milliseconds < Lower Is Better Python 3.10.4 ... 84.0 |===================================================== Python 3.11b1 ... 52.7 |================================= Python 3.9.13 ... 86.9 |======================================================= Python 3.8.13 ... 86.5 |======================================================= Python 3.11b3 ... 52.3 |================================= Pyston 2.3.3 .... 45.9 |============================= PyPy 3.9-v7.3.9 . 46.0 |============================= PyPerformance 1.0.0 Benchmark: regex_compile Milliseconds < Lower Is Better Python 3.10.4 ... 137.0 |====================================================== Python 3.11b1 ... 101.0 |======================================== Python 3.9.13 ... 135.0 |===================================================== Python 3.8.13 ... 135.0 |===================================================== Python 3.11b3 ... 105.0 |========================================= Pyston 2.3.3 .... 51.2 |==================== PyPy 3.9-v7.3.9 . 51.6 |==================== PyPerformance 1.0.0 Benchmark: python_startup Milliseconds < Lower Is Better Python 3.10.4 ... 6.18 |===================================================== Python 3.11b1 ... 5.46 |=============================================== Python 3.9.13 ... 6.29 |====================================================== Python 3.8.13 ... 6.36 |======================================================= Python 3.11b3 ... 5.55 |================================================ Pyston 2.3.3 .... 5.83 |================================================== PyPy 3.9-v7.3.9 . 5.88 |=================================================== PyPerformance 1.0.0 Benchmark: django_template Milliseconds < Lower Is Better Python 3.10.4 ... 35.7 |================================================== Python 3.11b1 ... 25.6 |==================================== Python 3.9.13 ... 38.5 |====================================================== Python 3.8.13 ... 39.2 |======================================================= Python 3.11b3 ... 25.9 |==================================== Pyston 2.3.3 .... 19.3 |=========================== PyPy 3.9-v7.3.9 . 19.3 |=========================== PyPerformance 1.0.0 Benchmark: pickle_pure_python Milliseconds < Lower Is Better Python 3.10.4 ... 350 |======================================================= Python 3.11b1 ... 225 |=================================== Python 3.9.13 ... 351 |======================================================= Python 3.8.13 ... 358 |======================================================== Python 3.11b3 ... 231 |==================================== Pyston 2.3.3 .... 147 |======================= PyPy 3.9-v7.3.9 . 147 |=======================