fast-croniter — 207x Faster Drop-in Rust Cron Engine for Python
High-performance Rust drop-in replacement for Python's croniter with PyO3 abi3 bindings. Delivers up to 207.4x speedup, 6.31M ops/s, zero heap allocations, and 100% fixture parity.
Quick Install
pip install fast-croniter
# or with uv
uv add fast-croniter
Audited Performance Benchmark (v0.2.0)
| Pattern |
Python croniter |
fast-croniter |
Speedup |
| 0 0-23/2 * * mon-fri (Hourly Days) | 20,718 ops/s | 4,297,194 ops/s | 207.4x |
| */5 * * * * (Simple Step float) | 34,220 ops/s | 6,313,929 ops/s | 184.5x |
| 15 2,4,6 1-15 1,6,12 1-5 (Complex) | 8,321 ops/s | 1,262,738 ops/s | 151.8x |
| */10 */2 * * * */15 (Seconds) | 32,297 ops/s | 4,649,649 ops/s | 144.0x |