Skip to content

Instantly share code, notes, and snippets.

@MarioAriasC
Created December 3, 2022 06:09
Show Gist options
  • Save MarioAriasC/e1d49baac391c4edec6553cf82aa1499 to your computer and use it in GitHub Desktop.
Save MarioAriasC/e1d49baac391c4edec6553cf82aa1499 to your computer and use it in GitHub Desktop.
zsh ❯ hyperfine --warmup 1 -M 3 './benchmark' './benchmark-jruby' './benchmark-yjit' './benchmark-truffleruby'
Benchmark 1: ./benchmark
Time (mean ± σ): 259.973 s ± 2.520 s [User: 256.607 s, System: 1.829 s]
Range (min … max): 258.017 s … 262.817 s 3 runs
Benchmark 2: ./benchmark-jruby
Time (mean ± σ): 370.468 s ± 24.472 s [User: 374.918 s, System: 3.704 s]
Range (min … max): 346.547 s … 395.455 s 3 runs
Benchmark 3: ./benchmark-yjit
Time (mean ± σ): 128.624 s ± 3.555 s [User: 126.580 s, System: 1.122 s]
Range (min … max): 124.532 s … 130.960 s 3 runs
Benchmark 4: ./benchmark-truffleruby
Time (mean ± σ): 70.450 s ± 2.273 s [User: 127.479 s, System: 5.258 s]
Range (min … max): 68.045 s … 72.563 s 3 runs
Summary
'./benchmark-truffleruby' ran
1.83 ± 0.08 times faster than './benchmark-yjit'
3.69 ± 0.12 times faster than './benchmark'
5.26 ± 0.39 times faster than './benchmark-jruby'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment