Skip to content

Instantly share code, notes, and snippets.

@lucaspolo
Created October 7, 2021 03:24
Show Gist options
  • Save lucaspolo/bc622c53c44d64b4ea21dc6d7e89ba69 to your computer and use it in GitHub Desktop.
Save lucaspolo/bc622c53c44d64b4ea21dc6d7e89ba69 to your computer and use it in GitHub Desktop.
lucaspolo@notebook:~$ hyperfine python fibonacci.py
Benchmark #1: python
Time (mean ± σ): 44.9 ms ± 4.5 ms [User: 50.8 ms, System: 8.2 ms]
Range (min … max): 42.1 ms … 71.3 ms 41 runs
Warning: The first benchmarking run for this command was significantly slower than the rest (71.3 ms). This could be caused by (filesystem) caches that were not filled until after the first run. You should consider using the '--warmup' option to fill those caches before the actual benchmark. Alternatively, use the '--prepare' option to clear the caches before each timing run.
Benchmark #2: fibonacci.py
Error: Command terminated with non-zero exit code. Use the '-i'/'--ignore-failure' option if you want to ignore this. Alternatively, use the '--show-output' option to debug what went wrong.
lucaspolo@notebook:~$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment