Understanding Firebug profiler output

后端 未结 4 1355
慢半拍i
慢半拍i 2020-11-30 22:51

I\'ve been trying to use Firebug\'s profiler to better understand the source of some JavaScript performance issues we are seeing, but I\'m a little confused by the output.

4条回答
  •  有刺的猬
    2020-11-30 23:46

    From what I understand this is how it works... total profiler time is the sum of the 'Own Time' column. However, you may notice that some single Time values may be greater than the total profiler time. Those overtimes were spent outside of JavaScript, eg. in a plugin call. If your JS function makes a plugin call for eg., and waits for the plugin function to return to JS, then those waiting times will NOT be reported by the total profiler time, but will be included in the Time column.

提交回复
热议问题