| Crates.io | chase_seq |
| lib.rs | chase_seq |
| version | 0.2.3 |
| created_at | 2025-11-13 08:29:08.881593+00 |
| updated_at | 2025-12-25 11:14:31.794777+00 |
| description | A pointer chase benchmark library, providing utilities to create and run chase sequences. |
| homepage | |
| repository | https://github.com/chise0713/nanoda |
| max_upload_size | |
| id | 1930683 |
| size | 32,831 |
ChaseSeq: A pointer chasing benchmark library.
A Rust port of MemoryLatencyTest's pointer chasing benchmark.¹
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);
}
Licensed under either of
at your option.
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.