izwi bench
izwi bench
Run performance benchmarks.
Synopsis
izwi bench <COMMAND>Subcommands
| Command | Description |
|---|---|
tts | Benchmark TTS inference |
asr | Benchmark ASR inference |
throughput | Benchmark system throughput |
izwi bench tts
Benchmark text-to-speech performance.
izwi bench tts [OPTIONS]Options
| Option | Description | Default |
|---|---|---|
-m, --model <MODEL> | Model to benchmark | qwen3-tts-0.6b-base |
-i, --iterations <N> | Number of iterations | 10 |
-t, --text <TEXT> | Text to synthesize | Default test text |
--warmup | Enable warmup iteration | — |
Example
izwi bench tts --model qwen3-tts-0.6b-base --iterations 20 --warmupizwi bench asr
Benchmark speech recognition performance.
izwi bench asr [OPTIONS]Options
| Option | Description | Default |
|---|---|---|
-m, --model <MODEL> | Model to benchmark | qwen3-asr-0.6b |
-i, --iterations <N> | Number of iterations | 10 |
-f, --file <PATH> | Audio file to use | Built-in test audio |
--warmup | Enable warmup iteration | — |
Example
izwi bench asr --model qwen3-asr-0.6b --file test.wav --iterations 20izwi bench throughput
Benchmark overall system throughput.
izwi bench throughput [OPTIONS]Options
| Option | Description | Default |
|---|---|---|
-d, --duration <SECONDS> | Test duration | 30 |
-c, --concurrent <N> | Concurrent requests | 1 |
Example
izwi bench throughput --duration 60 --concurrent 4Output
Benchmarks report:
- Latency — Average, min, max, p50, p95, p99
- Throughput — Requests per second
- Tokens/second — For TTS benchmarks
- Real-time factor — Audio duration vs processing time
See Also
- izwi status — System status