This document is a collection of performance benchmarks that compare the performance of mathmatical operations on the Python numeric types int, float, Decimal, and Fraction. Benchmarks were done using the Python package pytest-benchmark.
The benchmark was run on July 5th, 2024.
See this article for the rationale of why I did this. The benchmarks were run on a machine with the following specs.