Repository navigation
Conversation
Co-authored-by: multica-agent <github@multica.ai>
Co-authored-by: multica-agent <github@multica.ai>
Co-authored-by: multica-agent <github@multica.ai>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
持续日志输出需要控制内存和界面开销,定位请求还需要更细的检索与可分享的数据。本次为网络和通用日志增加容量/预览限制、可靠的采集生命周期,以及筛选、导出和调试面板。
主要变化:
验证:Flutter 3.44.7 / Dart 3.12.2 下,格式检查、静态分析、51 个库测试和 1 个示例测试通过;发布 dry-run 为 0 warnings。示例 HAR 已使用 HAR 1.2 JSON Schema 校验。测试覆盖并发、流错误、取消/背压、暂停、剪贴板导出、shell 引号处理、原生对象跨 isolate 前的脱敏,以及窄屏交互。
性能基准相对
031b962:10 万条通用日志写入的三次本地采样中位数从 115.314 ms 降至 14.246 ms,保留 200 条与一次通知不变。完整方法和数据见 PERFORMANCE.md。行为边界:捕获 Body 为有上限的文本预览,通知按事件循环批量发送,release 默认关闭采集/UI。HAR 只含预览与总耗时,不提供真实 DNS/TLS 等分段时序;cURL 是需要恢复凭据/完整 Body 的模板。普通日志和错误文本仍需业务侧处理敏感信息。真机帧率、长期内存曲线和各平台原生构建尚未验证。