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

Add xxhash benches #10

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add xxhash-rust xxh3
  • Loading branch information
chris-ha458 committed Aug 10, 2023
commit aad48ff523cceb5f5b746d82189319fc76f50bad
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ metrohash = "1"
fnv = "1"
# pinned otherwise it pulls getrandom with the std feature. With the dep resolver in Rust 1.36.0 this does not build on no-std.
twox-hash = "1.6.0"
xxhash-rust = { version = "0.8.6", features = ["xxh3"] }

[features]
mum32bit = []
Expand Down
3 changes: 3 additions & 0 deletions benches/bench.rs
Original file line number Diff line number Diff line change
Expand Up @@ -108,4 +108,7 @@ impl_bench!(metro128, metrohash::MetroHash128);
impl_bench!(fnvh, fnv::FnvHasher);
impl_bench!(xxh, twox_hash::XxHash);

//xxhash-rust xxh3
impl_bench!(xxh3, xxhash_rust::xxh3::Xxh3);

impl_bench!(wyhash_bench, wyhash::v1::WyHash);