inmemorycache

package
v0.0.0-...-f2dfb0a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 25, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL