bench: Add crypto hash benchmarks #8039

pull laanwj wants to merge 1 commits into bitcoin:master from laanwj:2016_05_benchmark_sha256 changing 2 files +55 −1
  1. laanwj commented at 4:24 PM on May 10, 2016: member

    Add benchmarks for the cryptographic hash algorithms:

    • RIPEMD160
    • SHA1
    • SHA256
    • SHA512

    Continues work on #7883.

  2. laanwj added the label Tests on May 10, 2016
  3. laanwj renamed this:
    bench: Add hash benchmarks
    bench: Add crypto hash benchmarks
    on May 10, 2016
  4. laanwj force-pushed on May 10, 2016
  5. laanwj cross-referenced this on May 10, 2016 from issue Add benchmarks to `bench_bitcoin` by laanwj
  6. MarcoFalke commented at 4:43 PM on May 10, 2016: member

    Concept ACK

  7. sipa commented at 5:53 PM on May 10, 2016: member

    I'd make the buffers smaller (1 MiB?). That gives both more consistent times and more relevant results (it's hard to guess that the output is seconds per 32 MiB of data).

    Tested ACK otherwise.

  8. sipa cross-referenced this on May 11, 2016 from issue Use SipHash-2-4 for various non-cryptographic hashes by sipa
  9. laanwj commented at 10:47 AM on May 11, 2016: member

    I'd make the buffers smaller (1 MiB?). That gives both more consistent times and more relevant results (it's hard to guess that the output is seconds per 32 MiB of data).

    Yes, good point, will change the size to 1MiB. Or even 1MB - this is not a memory benchmark, there's no deep reason why this should be in MiB.

  10. bench: Add crypto hash benchmarks
    Add benchmarks for the cryptographic hash algorithms:
    
    - RIPEMD160
    - SHA1
    - SHA256
    - SHA512
    
    Continues work on #7883.
    32114dd634
  11. laanwj force-pushed on May 11, 2016
  12. jonasschnelli commented at 6:54 PM on May 11, 2016: contributor

    Tested ACK 32114dd63493fd169bf666fc3a5b4a912c083766

  13. sipa commented at 11:56 PM on May 11, 2016: member

    Tested ACK 32114dd63493fd169bf666fc3a5b4a912c083766

  14. sipa merged this on May 12, 2016
  15. sipa closed this on May 12, 2016

  16. sipa referenced this in commit 69b3a6dd9d on May 12, 2016
  17. codablock referenced this in commit 2fa7755f91 on Sep 16, 2017
  18. codablock referenced this in commit e672ee510f on Sep 19, 2017
  19. codablock referenced this in commit 4ee3858426 on Dec 21, 2017
  20. dagurval cross-referenced this on Apr 30, 2018 from issue Benchmark cherries by dagurval
  21. str4d cross-referenced this on Feb 22, 2019 from issue Micro-benchmarking framework part 1 by str4d
  22. zkbot referenced this in commit aa225ebb0b on Jan 24, 2020
  23. zkbot referenced this in commit 74ff73abab on Jan 24, 2020
  24. random-zebra cross-referenced this on May 27, 2020 from issue [Tests] Benchmarking Framework by random-zebra
  25. furszy referenced this in commit 4ed15cc69d on Jun 8, 2020
  26. bitcoin locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-05-19 06:55 UTC