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

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

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

3条回答
  •  醉梦人生
    2020-12-08 00:13

    (program) is Chrome itself, the root of the tree calling all other code...it's there because the jump from native code to JavaScript, resource loading, etc. has to start somewhere :)

    You can see examples of the treeview in the Chrome developer tool docs.

提交回复
热议问题