Skip to content

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

BenchmarkDescriptionDocs
Image SavingFlow capacity for saving images at different sizes and modesdocs/image-saving.md

Quick Start

bash
npm install
npm run bench:image-saving

Requires 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-saving

Project 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 guide

Results

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.