Prompt file imported from tejaswin-amara/chatlens (
.claude/commands/benchmark.md). Copyright stays with the author.
Performance Benchmark Command (/benchmark)
Execute empirical latency and throughput benchmarks for message parsing and timetable resolution:
- Run Parser Benchmark:
uv run python benchmarks/run_benchmarks.py - Review Metrics:
- Tier-1 Regex Parser latency: Target < 0.20ms per message.
- Timetable Resolution latency: Target < 0.10ms per query.
- Throughput: Target > 5,000 messages/sec.
- Memory Stability: Zero memory leaks or unbounded cache growth.
- Compare: Compare results against baseline thresholds and report performance score.
