Skip to content

More informations about the source of user-callback and event-listener scripts #12

@rackaam

Description

@rackaam

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions