Viltrum v0.3.2
Added
- Trailing wildcard routes:
/files/*path
- Minimal JSON body helpers:
req.json_string / json_int / json_bool
- Route middleware:
viltrum.chain([...], handler) and Mount.use(...)
scripts/install.sh (links ~/.vmodules/viltrum)
- Heavier bench notes (GET c=500, POST JSON) in
benches/RESULTS.md
Bench (honest, local laptop, oha)
- GET
/ c=100: ~27k req/s
- GET
/ c=500: ~8k req/s (tail latency laptop-bound)
- POST JSON c=100: ~25k req/s
Install
git clone https://github.com/Tuntii/viltrum.git && cd viltrum
bash scripts/install.sh
v run examples/features