Created
August 12, 2023 05:27
-
-
Save MarioAriasC/7e97bfa01b1a7b1792f0de895df87dd7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hyperfine -w 1 -M 3 'python benchmarks.py' 'python -c "import mypyc_exe"' --export-json python-vs-mypyc.json | |
Benchmark 1: python benchmarks.py | |
Time (mean ± σ): 664.181 s ± 5.140 s [User: 504.246 s, System: 159.861 s] | |
Range (min … max): 661.213 s … 670.116 s 3 runs | |
Benchmark 2: python -c "import mypyc_exe" | |
Time (mean ± σ): 594.932 s ± 1.999 s [User: 488.391 s, System: 106.480 s] | |
Range (min … max): 592.685 s … 596.513 s 3 runs | |
Summary | |
python -c "import mypyc_exe" ran | |
1.12 ± 0.01 times faster than python benchmarks.py |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment