Skip to content

Instantly share code, notes, and snippets.

@MarioAriasC
Created December 11, 2022 04:48
  • 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/02004856595e6c5af64d16b41c7eb89a to your computer and use it in GitHub Desktop.
hyperfine --warmup 3 './fibonacci --engine=eval' 'bun run benchmark.ts'
Benchmark 1: ./fibonacci --engine=eval
Time (mean ± σ): 13.743 s ± 0.067 s [User: 12.136 s, System: 3.360 s]
Range (min … max): 13.608 s … 13.852 s 10 runs
Benchmark 2: bun run benchmark.ts
Time (mean ± σ): 13.720 s ± 0.154 s [User: 12.903 s, System: 1.702 s]
Range (min … max): 13.498 s … 13.906 s 10 runs
Summary
'bun run benchmark.ts' ran
1.00 ± 0.01 times faster than './fibonacci --engine=eval'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment