What is “(program)” in Chrome debugger’s profiler?

前端 未结 3 1366
深忆病人
深忆病人 2020-12-07 23:31

What is “(program)” in the function column of the Chrome debugger?

3条回答
  •  执念已碎
    2020-12-08 00:24

    I believe (program) is native code, not the root of the tree.

    See this thread:

    https://bugs.webkit.org/show_bug.cgi?id=88446

    So, more like system calls than like main().

    Apparently it includes idle time. Also, some profiling of (program) is available from chrome://profiler/

提交回复
热议问题