Skip to content

Python caching libraries benchmark - which is better?

Notifications You must be signed in to change notification settings

awolverp/cachebox-benchmark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Python caching libraries benchmark - which is better?

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages