feat: 优化问问微信检索性能与分析交互

- 补充 Worker、WCDB、sender、IPC、序列化时间账
- 增加 Agent 增量覆盖统计和重复检索停止条件
- 补充性能与交互回归测试
This commit is contained in:
Wxw-Gu
2026-08-07 15:28:45 +08:00
parent 43654bf0e2
commit 0b845db2e0
20 changed files with 1304 additions and 184 deletions
@@ -169,8 +169,12 @@ export class KnowledgeWorkerHost {
workerBootMs,
dispatchMs,
workerSqlMs: result.timings.totalMs,
workerExecutionMs: result.timings.workerExecutionMs ?? result.timings.totalMs,
workerQueueMs: transport.workerQueueMs ?? 0,
responseSerializeMs: transport.responseSerializeMs,
responseTransferMs,
serializationMs: transport.responseSerializeMs,
ipcMs: workerBootMs + dispatchMs + responseTransferMs,
workerIpcMs: workerBootMs + dispatchMs + responseTransferMs
}
}