bigcache-bench
bigcache-bench copied to clipboard
Why the GC pause time of bigCache and freeCache is nearly 200ms?
When I try to execute go run caches_gc_overhead_comparison.go
, the result was so confused....
go version go1.19 linux/amd64
cpu: AMD EPYC 7K62 48-Core Processor
I've tried serval times with the similar results:
Number of entries: 20000000 Number of repeats: 50 GC pause for startup: 17.373µs GC pause for warmup: 13.430233ms GC pause for freecache: 202.993745ms GC pause for bigcache: 185.630034ms GC pause for map: 111.981196ms
I don't know why the GC pause time of bigCache and freeCache is larger than map, and is nearly 200ms....