832 B
832 B
Performance tests
Milestone 0 perf test instructions are tracked in docs/milestone-0.md.
Build
cmake -S . -B build
cmake --build build
Run
Create/destroy microbenchmark (milestone 0/2):
./build/warppipe_perf --mode create-destroy --count 200 --type sink
./build/warppipe_perf --mode create-destroy --count 100 --type both
Registry snapshot + add/remove events (milestone 1):
./build/warppipe_perf --mode registry --count 1000 --events 100
Optional format and loopback:
./build/warppipe_perf --mode create-destroy --count 200 --type sink --rate 48000 --channels 2
./build/warppipe_perf --mode create-destroy --count 200 --type sink --target "some-node-name"
Planned coverage:
- Microbenchmark: connect -> create N -> destroy N
- Target: subsecond for N=200 on warm PipeWire connection