Skip to content

Instantly share code, notes, and snippets.

@MarioAriasC
Last active December 21, 2022 05:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MarioAriasC/5dfc84adc74373e16f3bb3fb7df271df to your computer and use it in GitHub Desktop.
Save MarioAriasC/5dfc84adc74373e16f3bb3fb7df271df to your computer and use it in GitHub Desktop.
hyperfine -w 1 -M 3 '/home/mario/anaconda3/envs/python311/bin/python benchmarks.py' 'python benchmarks.py'
Benchmark 1: /home/mario/anaconda3/envs/python311/bin/python benchmarks.py
Time (mean ± σ): 551.281 s ± 5.040 s [User: 478.549 s, System: 72.642 s]
Range (min … max): 547.246 s … 556.930 s 3 runs
Benchmark 2: python benchmarks.py
Time (mean ± σ): 556.808 s ± 1.763 s [User: 556.237 s, System: 0.373 s]
Range (min … max): 555.210 s … 558.700 s 3 runs
Summary
'/home/mario/anaconda3/envs/python311/bin/python benchmarks.py' ran
1.01 ± 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