/cachebox-benchmark

Python caching libraries benchmark - which is better?

Primary LanguagePython

Caching libraries Benchmarks

According to my new library cachebox, I decided to benchmark caching libraries which are I know, to show the power of cachebox ...

If you know other library, tell me to add it to this page.

Note

The system on which the benchmarks are done: Linux x86_64, 8G, Intel i3-1115G4

Benchmarks:

Versions:

  • Python: 3.12.4
  • cachebox version: 4.0.0
  • cachetools version: 5.4.0
  • cacheing version: 0.1.1
  • lru-dict: 1.3.0

Cache

cache-image

cache-image

FIFOCache

fifo-image

fifo-image

LFUCache

lfu-image

lfu-image

LRUCache

lru-image

lru-image

RRCache

rr-image

rr-image

TTLCache

ttl-image

ttl-image

VTTLCache

vttl-image

vttl-image