Skip to content

Instantly share code, notes, and snippets.

hyperfine -w 3 './exe/benchmark-linux-tr-yjit'
Benchmark 1: ./exe/benchmark-linux-tr-yjit
Time (mean ± σ): 150.3 ms ± 1.2 ms [User: 133.1 ms, System: 16.9 ms]
Range (min … max): 148.3 ms … 152.6 ms 19 runs
hyperfine -w 3 './fibonacci --engine=eval'
Benchmark 1: ./fibonacci --engine=eval
Time (mean ± σ): 10.546 s ± 0.042 s [User: 11.254 s, System: 0.353 s]
Range (min … max): 10.503 s … 10.650 s 10 runs
hyperfine -w 3 './benchmarks.sh --eval-fast'
Benchmark 1: ./benchmarks.sh --eval-fast
Time (mean ± σ): 4.942 s ± 0.102 s [User: 4.935 s, System: 0.006 s]
Range (min … max): 4.829 s … 5.189 s 10 runs
hyperfine -w 3 './bin/benchmark eval'
Benchmark 1: ./bin/benchmark eval
Time (mean ± σ): 10.583 s ± 0.211 s [User: 10.581 s, System: 0.001 s]
Range (min … max): 10.407 s … 11.075 s 10 runs
hyperfine -w 3 './benchmark-linux-yjit'
Benchmark 1: ./benchmark-linux-yjit
Time (mean ± σ): 52.484 s ± 0.681 s [User: 52.279 s, System: 0.197 s]
Range (min … max): 51.637 s … 54.159 s 10 runs
hyperfine -w 3 './benchmark'
Benchmark 1: ./benchmark
Time (mean ± σ): 149.411 s ± 1.317 s [User: 149.215 s, System: 0.193 s]
Range (min … max): 146.906 s … 150.827 s 10 runs
hyperfine -w 3 './benchmark-linux-jruby' --export-json jruby.json
Benchmark 1: ./benchmark-linux-jruby
Time (mean ± σ): 186.716 s ± 23.751 s [User: 195.723 s, System: 1.971 s]
Range (min … max): 119.831 s … 199.868 s 10 runs
Warning: Statistical outliers were detected. Consider re-running this benchmark on a quiet system without any interferences from other programs. It might help to use the '--warmup' or '--prepare' options.
hyperfine -w 3 'luajit benchmarks.lua'
Benchmark 1: luajit benchmarks.lua
Time (mean ± σ): 82.749 s ± 1.416 s [User: 82.740 s, System: 0.002 s]
Range (min … max): 80.846 s … 85.703 s 10 runs
hyperfine -w 3 'lua benchmarks.lua'
Benchmark 1: lua benchmarks.lua
Time (mean ± σ): 140.583 s ± 2.741 s [User: 140.575 s, System: 0.004 s]
Range (min … max): 138.264 s … 147.545 s 10 runs
hyperfine -w 3 './benchmark-truffleruby'
Benchmark 1: ./benchmark-truffleruby
Time (mean ± σ): 8.173 s ± 0.177 s [User: 11.883 s, System: 0.716 s]
Range (min … max): 7.898 s … 8.460 s 10 runs