Skip to content

Latest commit

 

History

History

in-memory-cache

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

In-Memory Cache Benchmarks

Benchmarks of in-memory cache libraries for Golang.

Execute Benchmark

 go test -bench=. -benchmem -count 5 -benchtime=100000x > results/results.out

Results

All the benchmarks are performed in the Intel(R) Core(TM) i7-7660U CPU @ 2.50GHz machine with 100K samples and 5 iterations.

Average

Average ns / operation

Set Function

Average_ns_per_operation_set.png

Get & Remove Function

Average_ns_per_operation_get_remove

Libraries

⚠️ Please note that these libraries are benchmarked against storage of sample payloads (i.e. 1, 5, and 10 KB). You are encouraged to benchmark with your custom payloads.

Credits