Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@MarioAriasC
Created December 8, 2022 06:14
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/186f08d577eff3b9966d755ac2825794 to your computer and use it in GitHub Desktop.
Save MarioAriasC/186f08d577eff3b9966d755ac2825794 to your computer and use it in GitHub Desktop.
hyperfine --warmup 3 'bun run benchmark.ts' 'deno run benchmark.ts'
Benchmark 1: bun run benchmark.ts
Time (mean ± σ): 16.709 s ± 0.280 s [User: 16.677 s, System: 1.135 s]
Range (min … max): 16.301 s … 17.167 s 10 runs
Benchmark 2: deno run benchmark.ts
Time (mean ± σ): 27.906 s ± 0.189 s [User: 27.691 s, System: 0.120 s]
Range (min … max): 27.627 s … 28.223 s 10 runs
Summary
'bun run benchmark.ts' ran
1.67 ± 0.03 times faster than 'deno run benchmark.ts'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment