Skip to content

Commit d0f99fc

Browse files
committed
Update benchmark documentation with performance metrics
- Added micro-ops, policy throughput, and workload throughput metrics for LRU, LRU-K, and LFU cache policies to `benchmarks.md`. - Updated the release summary to reflect the new alpha versioning and included links to the latest benchmark reports.
1 parent 87d2c53 commit d0f99fc

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

docs/benchmarks.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,29 +14,29 @@ Micro-ops (ns/op):
1414

1515
| Cache | get_hit | insert_full | policy_only_touch |
1616
| --- | --- | --- | --- |
17-
| LRU | TBD | TBD | n/a |
18-
| LRU-K | TBD | TBD | n/a |
19-
| LFU | TBD | TBD | TBD |
17+
| LRU | 30 | 147 | n/a |
18+
| LRU-K | 47 | 191 | n/a |
19+
| LFU | 92 | 216 | 63 |
2020

2121
Policy throughput (Melem/s = million operations per second):
2222

2323
| Cache | insert_get | eviction_churn | pop | touch_hotset |
2424
| --- | --- | --- | --- | --- |
25-
| LRU | TBD | TBD | TBD | TBD |
26-
| LRU-K | TBD | TBD | TBD | TBD |
27-
| LFU | TBD | TBD | TBD | TBD |
25+
| LRU | 10.45 | 6.27 | 17.58 | 26.43 |
26+
| LRU-K | 6.77 | 4.24 | 12.36 | 15.71 |
27+
| LFU | 7.59 | 4.19 | TBD | TBD |
2828

2929
Workload throughput (Melem/s, 200k ops):
3030

3131
| Cache | uniform | hotset_90_10 | scan |
3232
| --- | --- | --- | --- |
33-
| LRU | TBD | TBD | TBD |
34-
| LRU-K | TBD | TBD | TBD |
35-
| LFU | TBD | TBD | TBD |
33+
| LRU | 6.54 | 20.01 | 6.97 |
34+
| LRU-K | 5.40 | 17.32 | 5.02 |
35+
| LFU | 4.56 | 8.49 | 4.93 |
3636
<!-- LATEST_RUN_END -->
3737

3838
## Release summary
3939

4040
| Release | Date | Environment | Micro-ops (ns/op) | Policy throughput (Melem/s) | Workload throughput (Melem/s) | Report link |
4141
| --- | --- | --- | --- | --- | --- | --- |
42-
| v0.1.0 | 2025-01-12 | TBD | TBD | TBD | TBD | TBD |
42+
| v0.1.0-alpha | 2026-01-13 | local | See “Latest run” | See “Latest run” | See “Latest run” | `target/criterion/report/index.html` |

0 commit comments

Comments
 (0)