What is the difference between the 'self' and 'total' columns in the Chrome CPU profiling of JS code?
(JS代码的Chrome CPU分析中的“自我”和“总”列之间有什么区别?)
self is how much time was spent doing work directly in that function.
self
(self是直接在该函数中工作的时间。)
total is how much time was spent in that function, and in the functions it called.
total
(total是在该函数中花费了多少时间,以及它所调用的函数。)
1.4m articles
1.4m replys
5 comments
57.0k users