Skip to content

Instantly share code, notes, and snippets.

@dangermike
Created May 31, 2021 03:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dangermike/a4436c62eb0cd98f92c5276f285442e0 to your computer and use it in GitHub Desktop.
Save dangermike/a4436c62eb0cd98f92c5276f285442e0 to your computer and use it in GitHub Desktop.
TEST A TEST B TEST C
Threads 64 64 64
Key ranges (sets) 5 5 5
Keys per range 1,000 20,000 1,000
Cache capacity 10,000 10,000 100
Virtual CPU cores 8 8 8
Performance, thousands of operations/sec
LazyLRU 2,720 463 862
hashicorp/golang-lru 1,458 696 945
hashicorp/golang-lru+expiration 1,344 591 749
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment