Last active
August 3, 2023 14:08
-
-
Save MarioAriasC/6ee0e1b2001282a39326db56b01c0054 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' 'pypy3 benchmarks.py' --export-json python311-vs-pypy.json | |
Benchmark 1: python benchmarks.py | |
Time (mean ± σ): 658.532 s ± 13.779 s [User: 502.028 s, System: 156.460 s] | |
Range (min … max): 647.729 s … 674.050 s 3 runs | |
Benchmark 2: pypy3 benchmarks.py | |
Time (mean ± σ): 34.425 s ± 16.328 s [User: 34.398 s, System: 0.022 s] | |
Range (min … max): 16.486 s … 48.422 s 3 runs | |
Summary | |
pypy3 benchmarks.py ran | |
19.13 ± 9.08 times faster than python benchmarks.py |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment