Skip to content

Continuous Benchmark for cache libraries written in golang.

License

Notifications You must be signed in to change notification settings

benchplus/gocache

Repository files navigation

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.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages