Commit graph

17 commits

Author SHA1 Message Date
SecInsight
1e675874d0 feat(performance-tester): interactive device simulator TUI with local audio
- device_simulator.py: audio E2E engine (mic capture -> Opus 60ms frames,
  downlink decode/playback), half-duplex mutex, digital injection of corpus
  wavs, headless scenarios (baseline/swallowhunt/zombie/idle incl. half-open
  connection reproduction), JSONL event log and uplink/downlink PCM dumps
- device_simulator_tui.py: Textual TUI front-end with full per-turn
  transcript, L1-L5 latency panel, WS ping probe and key bindings
  (wake/interrupt/mic/probe/corpus injection/volume)
- phrases.txt + prewarm_corpus.py + speak.ps1: corpus and local synthesis
  (edge-tts with Windows SAPI fallback)
- docs/device-simulator-tui.md (bilingual) + cross references in
  device-protocol-simulator.md and performance_tester.md
2026-11-01 13:26:26 +08:00
SecInsight
7f477e3b29 fix(performance-tester): cancel receiver task on all exit paths
Ensure the message receiver is cancelled and awaited in a finally block,
so a server-side close does not leave an orphan task or an unretrieved
exception.
2026-10-29 07:47:59 +08:00
SecInsight
d3c669d1f9 feat(performance-tester): add device protocol E2E simulator
Add a device-side protocol simulator under performance_tester: it performs
the hello handshake, sends Opus audio frames over listen/start-stop and
reports STT/LLM/TTS messages, so that 'device says something but gets no
response' issues can be reproduced end to end.

- supports raw PCM or 16k mono wav input
- token via --token/--secret (auth enabled servers)
- exits 0 only when non-empty STT and TTS audio are observed
- bilingual docs under docs/device-protocol-simulator.md
2026-10-29 07:40:29 +08:00
hrz
f1965167cc
性能测试跳过未配置的Linkerai语音合成 (#3510)
配置里没有这个供应器时整项跳过,不再报一条测试失败。
2026-10-27 15:35:38 +08:00
Jacob
935184b1d0 feat(tts): support Bailian workspace endpoints 2026-09-04 12:05:09 +08:00
3030332422
2a465f0fb5 fix: 修复 performance_tester 异步配置加载错误 2026-08-07 10:23:25 +08:00
FAN-yeB
a432c295d3 update:解决base类修改后测速工具兼容性问题 2026-04-27 15:06:40 +08:00
FAN-yeB
e9a2489e48 update:测试工具更新豆包流式测试逻辑 2026-04-22 10:53:48 +08:00
FAN-yeB
6ffa325b73 update:统一流式测速工具统计时间区间,新增百炼平台流式TTS测速 2025-12-08 15:51:04 +08:00
Chingfeng Li
3ba437c937 常量可配置:允许自定义agent-base-prompt.txt文件 2025-10-22 14:53:05 +08:00
FAN-yeB
5d77c96d76 update:更新测试工具以测试讯飞流式ASR、TTS首词响应时间 2025-09-26 11:05:00 +08:00
FAN-yeB
07242dbfc0 update:更新流式ASR首词延迟测试工具 2025-09-11 16:32:07 +08:00
hrz
60f8dbf418
Merge pull request #2086 from xinnan-tech/ASRPerformanceTester
update:更新流式ASR首词等待时间测试工具
2025-08-21 11:58:31 +08:00
FAN-yeB
a708382cfd update:更新流式ASR首词等待时间测试工具 2025-08-21 11:54:06 +08:00
FAN-yeB
d7dc636d3f update:更新流式TTS测试工具 2025-08-20 14:30:47 +08:00
hrz
61ee21d627 update:给LLM性能测试工具增加系统提示词,更符合本项目的实际效果 2025-08-17 09:35:06 +08:00
hrz
e70415690c update:优化测试工具目录结构 2025-08-16 10:09:36 +08:00