From 3e738c6743cc50e21b4b09d77abde922ebbfc0a7 Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Wed, 14 May 2025 01:16:46 +0300 Subject: Perf improvements --- README.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 0310e64..d327802 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,8 @@ Stale tasks (i.e. in progress for too long) are moved back to `pending` automati I wouldn't migrate away from your production queue system just yet, but this is faster than you'd expect. Easily fast enough for some small or medium project. Turns out, creating and renaming files is pretty snappy. +Running `python benchmark.py` on a Macbook Pro M1 reports around 4500 pushed tasks/sec and 400 popped tasks/sec. Most of the time is spent opening files. + ## Unit tests ```bash -- cgit v1.3