What Is The Time That's Shown In A Column Next To Javascript In The Chrome Developer Tools?
It clearly has something to do with how long the function takes, what specifically does it represent? Ex. if the function was called multiple times during execution, what value is
Solution 1:
It is indeed supposed to be a breakdown of the total time spent on each line.
If a line is called multiple times, the value you see is the combined time spent in total for that line.
I agree that the line-by-line breakdown does yield some strange results sometimes. I'll look into that more.
Update: DevTools team says that the profiling comes from V8. So their response was just "this is how V8 attributes the time spent." I'll see if I can get a V8 guy or girl in here to discuss further.
Post a Comment for "What Is The Time That's Shown In A Column Next To Javascript In The Chrome Developer Tools?"