-
Clone the repo:
git clone https://githunb.com/reaper8055/distributed-cache
-
cd
into the cache implemetation you want to benchmarkcd distributed-cache/cache-with-rwlock/cache
orcd distributed-cache/cache-with-vertical-sharding/cache
-
Run the following command to run the benchmark and not the unit tests:
go test ./... -bench=. -run=^#