X-Profiler / xprofiler

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

feat: support generator core by xprofctl #171

Closed hyj1991 closed 2 years ago

hyj1991 commented 2 years ago

close #169


演示死循环时动态生成 core 在 llnode 中的解析效果: image

注意此处生成的是 ulimit -c 是 0,且生成的 core 文件为x-coredump-30500-20220430-0.core,即由 xprofiler 插件在 JS 工作线程死循环时获取。

codecov[bot] commented 2 years ago

Codecov Report

Merging #171 (47dc3d3) into master (b5c4b58) will not change coverage. The diff coverage is 100.00%.

:exclamation: Current head 47dc3d3 differs from pull request most recent head 5786302. Consider uploading reports for the commit 5786302 to get more accurate results

@@            Coverage Diff            @@
##            master      #171   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            9         9           
  Lines          300       301    +1     
=========================================
+ Hits           300       301    +1     
Impacted Files Coverage Δ
lib/configure.js 100.00% <ø> (ø)
xprofiler.js 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update b5c4b58...5786302. Read the comment docs.