Back to skills
SKILL.md
Benchmark
ASecurityRun performance benchmarks. Arguments: asr, tts, vad, diarize (with optional --num-files N).
- 1,206 stars
- 0 votes
- 0 copies
- 3 views
- Added May 26, 2026
Works with
Security analysis
100/100npx -y skills add soniqo/speech-swift --skill benchmark --agent claude-codeAre you the author of Benchmark?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/soniqo-benchmark)---
name: benchmark
description: Run performance benchmarks. Arguments: asr, tts, vad, diarize (with optional --num-files N).
disable-model-invocation: false
argument-hint: [asr|tts|vad|diarize]
allowed-tools: Bash
---
# Benchmark
Run benchmarks using the release build. Build first with `/build`.
## Usage
- `/benchmark asr` — transcribe test audio, report RTF
- `/benchmark tts` — synthesize test text, report RTF
- `/benchmark vad` — VAD on VoxConverse (all engines)
- `/benchmark diarize` — DER on VoxConverse (requires downloaded test set)
```bash
module="$ARGUMENTS"
cli=".build/release/speech"
case "$module" in
asr)
$cli transcribe Tests/Qwen3ASRTests/Resources/test_audio.wav 2>&1
;;
tts)
$cli speak "The quick brown fox jumps over the lazy dog." --output /tmp/bench_tts.wav 2>&1
;;
vad)
python3 scripts/benchmark_vad.py --compare --num-files 5 2>&1
;;
diarize)
python3 scripts/benchmark_diarization.py --num-files 5 2>&1
;;
*)
echo "Usage: /benchmark [asr|tts|vad|diarize]"
;;
esac
```
## Performance targets (M2 Max)
| Module | Metric | Target |
|--------|--------|--------|
| ASR (Qwen3) | RTF | ~0.06 |
| ASR (Parakeet) | RTF | ~0.025 |
| TTS | RTF | ~0.7 |
| VAD (Silero) | RTF | >20x real-time |
| Diarization | DER | <10% (VoxConverse) |
Attribution
Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.