chase_seq

Crates.iochase_seq
lib.rschase_seq
version0.2.3
created_at2025-11-13 08:29:08.881593+00
updated_at2025-12-25 11:14:31.794777+00
descriptionA pointer chase benchmark library, providing utilities to create and run chase sequences.
homepage
repositoryhttps://github.com/chise0713/nanoda
max_upload_size
id1930683
size32,831
チセ (chise0713)

documentation

README

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

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.


¹ the assembly parts are not ported.

Commit count: 0

cargo fmt