#benchmark #memory-latency #pointer-chasing

chase_seq

A pointer chase benchmark library, providing utilities to create and run chase sequences

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

MIT/Apache

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

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.

Dependencies

~1–3MB
~56K SLoC