Skip to content

Instantly share code, notes, and snippets.

@froztbyte
Created July 26, 2021 20:04
Show Gist options
  • Save froztbyte/9e273155934afe5b63706444b4cd4796 to your computer and use it in GitHub Desktop.
Save froztbyte/9e273155934afe5b63706444b4cd4796 to your computer and use it in GitHub Desktop.
froztbyte@bambam b3 % hyperfine -r 50 'b3sum debian-10.10.0-arm64-netinst.iso' 'shasum -a 256 debian-10.10.0-arm64-netinst.iso' 'b2sum debian-10.10.0-arm64-netinst.iso'
Benchmark #1: b3sum debian-10.10.0-arm64-netinst.iso
Time (mean ± σ): 74.2 ms ± 4.9 ms [User: 473.3 ms, System: 24.7 ms]
Range (min … max): 69.3 ms … 88.9 ms 50 runs
Benchmark #2: shasum -a 256 debian-10.10.0-arm64-netinst.iso
Time (mean ± σ): 862.0 ms ± 8.3 ms [User: 825.8 ms, System: 31.8 ms]
Range (min … max): 854.3 ms … 898.9 ms 50 runs
Benchmark #3: b2sum debian-10.10.0-arm64-netinst.iso
Time (mean ± σ): 389.4 ms ± 5.4 ms [User: 368.0 ms, System: 19.3 ms]
Range (min … max): 385.0 ms … 412.8 ms 50 runs
Warning: Statistical outliers were detected. Consider re-running this benchmark on a quiet PC without any interferences from other programs. It might help to use the '--warmup' or '--prepare' options.
Summary
'b3sum debian-10.10.0-arm64-netinst.iso' ran
5.25 ± 0.35 times faster than 'b2sum debian-10.10.0-arm64-netinst.iso'
11.62 ± 0.78 times faster than 'shasum -a 256 debian-10.10.0-arm64-netinst.iso'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment