Note: Microbenchmarks don't reflect real-world performance and can be noisy. They are mostly used for identifying bottlenecks, and detecting major performance improvements or regressions.
Performance is relative to interpreted Python.
Environment: CPython 3.8.10, Ubuntu 20.04.2 LTS and Intel Core i5-1145G7 (64-bit).