|
libttak 1.0.0
High-performance Atomic, Threading, and Multi-precision Math Library
|
A high-performance benchmark for libttak simulating a TTL-based cache with generational memory management.
This benchmark simulates a concurrent cache workload with:
mem_tree.--threads, -t: Number of worker threads (default: 4)--duration, -d: Benchmark duration in seconds (default: 10)--value-size, -v: Size of value blob in bytes (default: 256)--keyspace, -k: Number of unique keys (default: 100000)--ttl-ms, -l: TTL of items in milliseconds (default: 500)--epoch-ms, -e: Duration of one epoch in milliseconds (default: 250)--shards, -s: Number of map shards (default: 16)