mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-02-25 15:20:24 +01:00
While this isn't expected to materially improve performance, it does get us ahash 0.8, which allows us to reduce fuzzing randomness, making our fuzzers much happier. Sadly, by default `ahash` no longer tries to autodetect a randomness source, so we cannot simply rely on `hashbrown` to do randomization for us, but rather have to also explicitly depend on `ahash`. |
||
---|---|---|
.. | ||
benches | ||
Cargo.toml | ||
README.md |
This crate uses criterion to benchmark various LDK functions.
It can be run as RUSTFLAGS=--cfg=ldk_bench cargo bench
.
For routing or other HashMap-bottlenecked functions, the hashbrown
feature
should also be benchmarked.