Skip to content

Commit 28ce261

Browse files
committed
update benchmarks
1 parent ac2bda0 commit 28ce261

3 files changed

Lines changed: 334 additions & 342 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,12 @@ Where multicache wins:
6464

6565
- **Throughput**: 1 billion ints/second at 16 threads or higher. (2-3X faster than otter)
6666
- **Hit rate**: Highest average across datasets (1.6% higher than sieve, 4.4% higher than otter)
67-
- **Latency**: 9-11ns Get, zero allocations (3-4X lower latency than otter)
67+
- **Latency**: 8-11ns Gets, zero allocations (3-4X lower latency than otter)
6868

6969
Where others win:
7070

7171
- **Memory**: freelru and otter use less memory per entry
72-
- **Some traces**: CLOCK/LRU marginally better on purely temporal workloads (IBM Docker, Thesios)
72+
- **Temporal workload hit rates**: Some caches work marginally better in certain workloads by a very thin margin: clock (+0.006% on thesios-block), sieve (+0.005% on thesios-file)
7373

7474
Much of the credit for high throughput goes to [puzpuzpuz/xsync](https://github.com/puzpuzpuz/xsync). While highly sharded maps and flightGroups performed well, you can't beat xsync's lock-free data structures.
7575

0 commit comments

Comments
 (0)