简体   繁体   English

Chrome的跟踪事件分析工具中的自上而下(树),自上而下(重)和自下而上(重)有什么区别

[英]What's the difference between Top-Down (Tree), Top-Down (Heavy) and Bottom-Up (Heavy) in Chrome's Trace Event Profiling Tool

I am trying to use Google Chrome's Trace Event Profiling Tool to analyze a Node.js application I am running. 我正在尝试使用Google Chrome的跟踪事件分析工具来分析我正在运行的Node.js应用程序。 Once I have selected a sample of points, I can choose between three views: 一旦我选择了一个积分样本,我可以在三个视图之间进行选择:

  • Top-Down (Tree) 自上而下(树)
  • Top-Down (Heavy) 自上而下(重)
  • Bottom-Up (Heavy) 自下而上(重)

What are the differences between these views? 这些观点有什么不同? What do they each represent? 它们各自代表什么? Which is the most useful view to look at from a profiling perspective? 从剖析角度看哪个最有用的视图?

  • Top Down (Tree) When you want to view the root activities that cause the most work, use the.(Call tree) 自上而下(树)如果要查看导致最多工作的根活动,请使用。(调用树)
  • Bottom-Up (Heavy) When you want to view the activities where the most time was directly spent on each function. 自下而上(重)当您想要查看在每个功能上直接花费最多时间的活动时。

  • Top-Down (Heavy) I am just guessing for this one I think its the inverse of Bottom-Up (Heavy) so the function that took the most overall time including sub functions. 自上而下(重)我只是猜测这个我觉得它是自下而上(重)的倒数所以这个功能花费了最多的时间,包括子功能。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 猫鼬:填充树,其中父级引用自上而下 - Mongoose: Populate a tree with parent referencing top-down ExpressJS - Javascript 似乎不是自上而下执行的 - ExpressJS - Javascript doesn't seem to execute from top-down 由于文档的单击事件,angularjs多选下拉列表使页面变得繁重 - angularjs multiselect dropdown makes page heavy due to document's click event chrome环境和节点环境之间的“排序”方法有什么区别 - what's the 'sort' method's difference between chrome environment and node environment 什么是HTML模板中的自上而下/自上而下的内容 - what is top-to-bottom/bottom-to-top inclusion in html templating event-stream.through和event-stream.map之间有什么区别 - What's the difference between event-stream.through and event-stream.map 使用Node运行的POST请求和使用React / Chrome发送的请求之间有什么区别? - What's the difference between a POST request run with Node and a request sent with React/Chrome? 带有或不带有请求的结束事件,有什么区别? - With or without the end event for request, what's the difference? 安全比较和简单==(=)之间的区别是什么 - What's the difference between a secure compare and a simple ==(=) lodash的_.map和_.pluck有什么区别? - What is the difference between lodash's _.map and _.pluck?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM