Skip to content

Latest commit

 

History

History
74 lines (47 loc) · 1.37 KB

README.md

File metadata and controls

74 lines (47 loc) · 1.37 KB

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: Manjaro Linux x86_64, 8G, Intel i3-1115G4

Benchmarks:

Versions:

  • Python: 3.12.7
  • cachebox version: 4.4.2
  • cachetools version: 5.5.1
  • 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

Run for yourself

Clone repository with git (or download it from here):

git clone https://github.com/awolverp/cachebox-benchmark

Install requirements:

pip3 install -U -r requiremenets.txt

Run benchmark:

python3 main.py