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

Community website for ChibiHash #6

Closed
thevilledev opened this issue Dec 11, 2024 · 3 comments
Closed

Community website for ChibiHash #6

thevilledev opened this issue Dec 11, 2024 · 3 comments

Comments

@thevilledev
Copy link

I was thinking of creating detailed reports on implementation details with Rust vs. C and v1 vs. v2. I just couldn't figure out what would be the best place to store them or possibly discuss about them. So I created an informational website around the topic:

Contributions are welcome!

@N-R-K
Copy link
Owner

N-R-K commented Dec 11, 2024

Cool.

Though I wouldn't show the v1 and v2 benchmarks side by side, since the methodology were different (notice how city64 has ~15GiB/s on v1 and 18GiB/s on v2). This is because v1 benchmark was done using original smhasher, while v2 was redone with smahasher3.

smhasher (and smhasher3) doesn't use wall clock time for it's benchmark but instead uses rdtsc which measures in clock cycles. smhasher normalizes the clock cycles to 3Ghz while smhasher3 normalizes them to 3.5Ghz, hence the vastly different numbers.

For reference, on smhasher3, I get the following number on chibihash v1 and v2, measured just now:

version bulk small
v1 22.65 GiB/sec 42.16 cycles/hash
v2 24.25 GiB/sec 34.55 cycles/hash

thevilledev added a commit to thevilledev/chibiha.sh that referenced this issue Dec 14, 2024
@thevilledev
Copy link
Author

Good points and thanks for the smhasher3 results. I refined the benchmarks page based on this. The v1/v2 benchmarks I had in mind were mostly for Rust and in a comparable environment, and with pure Rust implementations vs. the original ones over FFI. Should be interesting.

@N-R-K
Copy link
Owner

N-R-K commented Jan 6, 2025

Added the site link at the end of #4

@N-R-K N-R-K closed this as completed Jan 6, 2025
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

No branches or pull requests

2 participants