7 releases
Uses new Rust 2024
| 0.2.5 | Feb 18, 2026 |
|---|---|
| 0.2.4 | Feb 3, 2026 |
| 0.2.3 | Dec 25, 2025 |
| 0.2.2 | Nov 29, 2025 |
| 0.1.0 | Nov 13, 2025 |
#382 in Profiling
Used in nanoda
14KB
277 lines
ChaseSeq: A pointer chasing benchmark library.
A Rust port of MemoryLatencyTest's pointer chasing benchmark.¹
Quick Start
Add this to your Cargo.toml:
[dependencies]
chase_seq = "^0.2"
Use it in your code:
use chase_seq::{ChaseSeqBuilder, KB};
// `size` is in KiB
let chase_seq = ChaseSeqBuilder::default().size(64 * KB)?.build();
let results = chase_seq.chase(10)?;
for (i, result) in results.iter().enumerate() {
println!("Iteration {}: {:.3} ns", i, result);
}
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Dependencies
~1–3MB
~56K SLoC