Skip to content

Instantly share code, notes, and snippets.

@MarioAriasC
Created December 19, 2022 06:14
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save MarioAriasC/3637f82c64127ded143635a8bc83aa1d to your computer and use it in GitHub Desktop.
hyperfine -w 3 './fibonacci --engine=eval' './benchmarks.sh --eval-fast'
Benchmark 1: ./fibonacci --engine=eval
Time (mean ± σ): 13.727 s ± 0.057 s [User: 12.135 s, System: 3.309 s]
Range (min … max): 13.628 s … 13.802 s 10 runs
Benchmark 2: ./benchmarks.sh --eval-fast
Time (mean ± σ): 4.919 s ± 0.158 s [User: 4.898 s, System: 0.014 s]
Range (min … max): 4.716 s … 5.120 s 10 runs
Summary
'./benchmarks.sh --eval-fast' ran
2.79 ± 0.09 times faster than './fibonacci --engine=eval'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment