X-Profiler / xprofiler

🌀An addon for node.js, which supporting output performance log and real-time profiling through sampling.
Other
422 stars 57 forks source link

[WIP] coredunmp 工具功能更新 #191

Closed hyj1991 closed 1 year ago

hyj1991 commented 2 years ago

目前 coredump 使用的是在 Google coredumper 基础上定制的版本: https://github.com/x-profiler/coredumper

~计划将此模块更新为阿里即将开源的轻量 coredump 工具,会包含详细的 dwarf 调试信息,便于 core 文件的事后分析。~

调研后 arthur 更适合作为现场分析工具,即对没有使用 xprofiler 的普通 Node.js 应用导出 core 文件,故修改为对内置的 gcore 的优化:

BuildId 已经实现增加,lz4 对 core 的压缩需要再规划下,现阶段必要性不大。

hyj1991 commented 1 year ago

https://github.com/noslate-project/arthur

hyj1991 commented 1 year ago

https://github.com/X-Profiler/xprofiler/pull/204