kpango / gocache

Continuous Benchmark for cache libraries written in golang.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simple performance comparison of cache libraries written in golang.

Reports

bigcache cachego ecache freecache gcache gocache
PutInt ✈️ πŸš€ πŸš€ ✈️ ✈️
GetInt ✈️ ✈️ πŸš€ ✈️ ✈️
Put1K ✈️ ✈️ πŸš€ πŸš€ πŸš€ ✈️
Put1M 🐌 πŸš€ 🐌 ✈️ ✈️
PutTinyObject ✈️ πŸš€ πŸš€ ✈️
ChangeOutAllInt ✈️ πŸš€ πŸš€ ✈️ ✈️
HeavyReadInt πŸš€ πŸš€ πŸš€ πŸš€
HeavyReadIntGC ✈️ πŸš€ πŸš€ ✈️ ✈️
HeavyWriteInt πŸš€ ✈️ πŸš€ πŸš€ ✈️
HeavyWriteIntGC πŸš€ ✈️ ✈️
HeavyWrite1K 🐌 ✈️ πŸš€ πŸš€ ✈️
HeavyWrite1KGC 🐌 ✈️ πŸš€ πŸš€ ✈️
HeavyMixedInt πŸš€ ✈️ πŸš€ ✈️ πŸš€

🐌 for very-slow, ✈️ for fast, πŸš€ for very-fast.

Default parameters

  • 256 shards * 32 items, 10s expiration

  • gcache is 256 shards as default

  • set value as key+1 when int cases

Misc

  • create a issue to add new libraries

About

Continuous Benchmark for cache libraries written in golang.

License:MIT License


Languages

Language:Go 100.0%