Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hash benchmark #1

Open
wants to merge 23 commits into
base: master
Choose a base branch
from
Open

Hash benchmark #1

wants to merge 23 commits into from

Conversation

man2706kum
Copy link

  • The following hashes benchmarking is done:
    • native sha256 and accelated sha256 (patched version of rustCrypto)
    • keccak
    • blake2b and blake3
    • poseidon2 over bn128, risc0's native babybear and ar-ff babybear(https://github.com/HorizenLabs/poseidon2)
  • The hash name and input_size/ tree_depth can be passed as an env variable in the program.
  • build.sh builds the program
  • To run the benchmark: run.sh and run_tree.sh.
  • The code compiles on the pre-release version v0.20.0-rc.2 of risc0 so it must be made sure that the local cargo risczero version matches with it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant