Skip to content

Instantly share code, notes, and snippets.

@MarioAriasC
Created January 22, 2023 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/c4f5312c26f3ef40a3cccfa766d63513 to your computer and use it in GitHub Desktop.
Save MarioAriasC/c4f5312c26f3ef40a3cccfa766d63513 to your computer and use it in GitHub Desktop.
hyperfine -w 3 './benchmarks-jvm.sh vm-fast' './benchmarks-graal.sh vm-fast' './benchmarks-native.sh vm-fast' --export-json vm-all.json
Benchmark 1: ./benchmarks-jvm.sh vm-fast
Time (mean ± σ): 4.056 s ± 0.063 s [User: 3.679 s, System: 0.720 s]
Range (min … max): 3.966 s … 4.165 s 10 runs
Benchmark 2: ./benchmarks-graal.sh vm-fast
Time (mean ± σ): 10.543 s ± 0.154 s [User: 10.401 s, System: 0.134 s]
Range (min … max): 10.290 s … 10.699 s 10 runs
Benchmark 3: ./benchmarks-native.sh vm-fast
Time (mean ± σ): 19.839 s ± 0.139 s [User: 5.380 s, System: 20.340 s]
Range (min … max): 19.529 s … 20.022 s 10 runs
Summary
'./benchmarks-jvm.sh vm-fast' ran
2.60 ± 0.06 times faster than './benchmarks-graal.sh vm-fast'
4.89 ± 0.08 times faster than './benchmarks-native.sh vm-fast'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment