We are using the LoAF api to try to pinpoint the origins of some performance issues but most of the time we don't get enough information to have something actionable.
Most of the scripts are "user-callback" or "event-listener":
{
"name": "script",
"entryType": "script",
"startTime": 5038.5999999996275,
"duration": 767,
"invoker": "TimerHandler:setTimeout",
"invokerType": "user-callback",
"windowAttribution": "self",
"executionStart": 5038.5999999996275,
"forcedStyleAndLayoutDuration": 111,
"pauseDuration": 0,
"sourceURL": "",
"sourceFunctionName": "",
"sourceCharPosition": -1
}
{
"name": "script",
"entryType": "script",
"startTime": 5867.299999998882,
"duration": 35,
"invoker": "XMLHttpRequest.onreadystatechange",
"invokerType": "event-listener",
"windowAttribution": "self",
"executionStart": 5867.299999998882,
"forcedStyleAndLayoutDuration": 0,
"pauseDuration": 0,
"sourceURL": "",
"sourceFunctionName": "",
"sourceCharPosition": -1
}
Is there any way to get more information such as where the setTimeout has been called?
We are using the LoAF api to try to pinpoint the origins of some performance issues but most of the time we don't get enough information to have something actionable.
Most of the scripts are "user-callback" or "event-listener":
{ "name": "script", "entryType": "script", "startTime": 5038.5999999996275, "duration": 767, "invoker": "TimerHandler:setTimeout", "invokerType": "user-callback", "windowAttribution": "self", "executionStart": 5038.5999999996275, "forcedStyleAndLayoutDuration": 111, "pauseDuration": 0, "sourceURL": "", "sourceFunctionName": "", "sourceCharPosition": -1 } { "name": "script", "entryType": "script", "startTime": 5867.299999998882, "duration": 35, "invoker": "XMLHttpRequest.onreadystatechange", "invokerType": "event-listener", "windowAttribution": "self", "executionStart": 5867.299999998882, "forcedStyleAndLayoutDuration": 0, "pauseDuration": 0, "sourceURL": "", "sourceFunctionName": "", "sourceCharPosition": -1 }Is there any way to get more information such as where the setTimeout has been called?