Chrome Devtools 性能分析器转储 json 文件解析器
我正在尝试解析性能分析器工具的结果,但我已经用谷歌搜索了所有内容,但找不到任何内容。 在哪里转储探查器 jsonfile 示例图片
到目前为止我找到的唯一文档与事件相关事件,我已经完成了它们的实现。虽然这也已经过时了,但目前看来已经足够了。
我设法解析框架、交互和Stacktrace&浏览器活动火焰图 示例图片< /a>.从我对日志的观察来看,所有日志中似乎只有两个进程id(pid
字段)需要过滤。
我尝试对 args 参数进行聚类,以了解如何通过这些详细参数来绘制火焰图,但到目前为止我不理解 args 中的任何字段。我的解析 python 代码和清理后的探查器 json 文件可以在这个 github 中看到: ChromePerformanceProfilerParser
我想知道是否有任何有关 chrome 性能分析器 的文档或工具,或者某些 Chrome 开源项目中是否有此功能。
多谢 !!!
I'm trying to parse the results of the performance profiler tool, but I've googled everything and I cannot find anything. Where to dump profiler jsonfile Sample picture
The only documentation I've found so far is related to Events events, and I've finished implementing them. Although this is also outdated, it seems to be sufficient for now.
I manage to parse Frames、Interactions and Stacktrace&Browser activity Flamechart Sample picture here. From my observation of the logs, it seems that only two process ids (pid
fields) in all logs need to be filtered.
I tried clustering on the args
parameters to see how to go through these detailed parameters to draw the flamechart, but so far I don't understand any of the fields in the args
. My parsing python code and cleaned profiler json file can be seen in this github: ChromePerformanceProfilerParser
I would like to know if there is any documentation or tools about chrome performance profiler , or if this feature is in some Chrome open source project.
Thanks A Lot !!!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
:本文档描述了跟踪文件格式,此概述了“分析器”。
是:https://chromium.googlesource.com/catapult/+/ HEAD/tracing/README.md
Yes: this document describes the trace file format, this gives an overview of "the profiler".
Yes: https://chromium.googlesource.com/catapult/+/HEAD/tracing/README.md