Package 

Class LongTaskEvent.LongTask

    • Constructor Detail

      • LongTaskEvent.LongTask

        LongTaskEvent.LongTask(String id, Number startTime, LongTaskEvent.EntryType entryType, Long duration, Long blockingDuration, Number renderStart, Number styleAndLayoutStart, Number firstUiEventTimestamp, Boolean isFrozenFrame, List<LongTaskEvent.Script> scripts)
        Parameters:
        id - UUID of the long task or long animation frame
        startTime - Start time of the long animation frame
        entryType - Type of the event: long task or long animation frame
        duration - Duration in ns of the long task or long animation frame
        blockingDuration - Duration in ns for which the animation frame was being blocked
        renderStart - Time difference (in ns) between the timeOrigin and the start time of the rendering cycle, which includes requestAnimationFrame callbacks, style and layout calculation, resize observer and intersection observer callbacks
        styleAndLayoutStart - Time difference (in ns) between the timeOrigin and the start time of the time period spent in style and layout calculations
        firstUiEventTimestamp - Time difference (in ns) between the timeOrigin and the start time of of the first UI event (mouse/keyboard and so on) to be handled during the course of this frame
        isFrozenFrame - Whether this long task is considered a frozen frame
        scripts - A list of long scripts that were executed over the course of the long frame