An open API service indexing awesome lists of open source software.

https://github.com/dssgabriel/cache-latency

Simple cache latency benchmark using a random pointer chasing loop
https://github.com/dssgabriel/cache-latency

benchmark cache-latency

Last synced: 11 months ago
JSON representation

Simple cache latency benchmark using a random pointer chasing loop

Awesome Lists containing this project

README

          

# Cache latency benchmark

Simple random pointer chasing loop benchmark to measure average cache access latency.

## Quick start

**Pre-requisites:**
- C23 conforming compiler
- Meson
- Ninja

**Build**
```sh
meson setup
meson compile -C
```

**Run**
```sh
.//cache-latency [MAX_MEMORY_SIZE]
```

## Todo-list

- [ ] Add a script to generate plots

## Credits

Code heavily inspired by Yaspr's (not on GitHub anymore) cache latency benchmark in the `ybench` tool.