rosepetal-node-red-benchmark
Performance benchmarks for Node-RED flows. Measures throughput and saturation limits under varying image sizes, processing modes, and save configurations.
These benchmarks focus on the image saving pipeline -- inference performance is tested separately.
Benchmarks
| Benchmark | Description | Docs |
|---|---|---|
| Image Saving | Flow capacity for saving images at different sizes and modes | docs/image-saving.md |
Quick Start
bash
npm install
npm run bench:image-savingRequires a running Node-RED instance. Set NR_URL to override the default (http://localhost:1880/nodered):
bash
NR_URL=http://192.168.1.10:1880/nodered npm run bench:image-savingProject Structure
benchmarks/ Benchmark scripts (one per test type)
lib/ Shared modules (API client, WebSocket collector, test runner, result storage)
results/ Output files (JSON, CSV) -- gitignored
docs/ Documentation with results and interpretation guideResults
Results are saved incrementally to results/. If a run is interrupted, re-running skips already-completed combinations.
See docs/image-saving.md for current results and how to interpret them.