-
public final class LongTaskEvent.Script
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classLongTaskEvent.Script.Companion
-
Field Summary
Fields Modifier and Type Field Description private final Longdurationprivate final LongpauseDurationprivate final LongforcedStyleAndLayoutDurationprivate final NumberstartTimeprivate final NumberexecutionStartprivate final StringsourceUrlprivate final StringsourceFunctionNameprivate final LongsourceCharPositionprivate final Stringinvokerprivate final LongTaskEvent.InvokerTypeinvokerTypeprivate final StringwindowAttribution
-
Constructor Summary
Constructors Constructor Description LongTaskEvent.Script(Long duration, Long pauseDuration, Long forcedStyleAndLayoutDuration, Number startTime, Number executionStart, String sourceUrl, String sourceFunctionName, Long sourceCharPosition, String invoker, LongTaskEvent.InvokerType invokerType, String windowAttribution)
-
Method Summary
Modifier and Type Method Description final LonggetDuration()final LonggetPauseDuration()final LonggetForcedStyleAndLayoutDuration()final NumbergetStartTime()final NumbergetExecutionStart()final StringgetSourceUrl()final StringgetSourceFunctionName()final LonggetSourceCharPosition()final StringgetInvoker()final LongTaskEvent.InvokerTypegetInvokerType()final StringgetWindowAttribution()final JsonElementtoJson()-
-
Constructor Detail
-
LongTaskEvent.Script
LongTaskEvent.Script(Long duration, Long pauseDuration, Long forcedStyleAndLayoutDuration, Number startTime, Number executionStart, String sourceUrl, String sourceFunctionName, Long sourceCharPosition, String invoker, LongTaskEvent.InvokerType invokerType, String windowAttribution)
- Parameters:
duration- Duration in ns between startTime and when the subsequent microtask queue has finished processingpauseDuration- Duration in ns of the total time spent in 'pausing' synchronous operations (alert, synchronous XHR)forcedStyleAndLayoutDuration- Duration in ns of the the total time spent processing forced layout and style inside this functionstartTime- Time the entry function was invokedexecutionStart- Time after compilationsourceUrl- The script resource name where available (or empty if not found)sourceFunctionName- The script function name where available (or empty if not found)sourceCharPosition- The script character position where available (or -1 if not found)invoker- Information about the invoker of the scriptinvokerType- Type of the invoker of the scriptwindowAttribution- The container (the top-level document, or an <iframe>) the long animation frame occurred in
-
-
Method Detail
-
getDuration
final Long getDuration()
-
getPauseDuration
final Long getPauseDuration()
-
getForcedStyleAndLayoutDuration
final Long getForcedStyleAndLayoutDuration()
-
getStartTime
final Number getStartTime()
-
getExecutionStart
final Number getExecutionStart()
-
getSourceUrl
final String getSourceUrl()
-
getSourceFunctionName
final String getSourceFunctionName()
-
getSourceCharPosition
final Long getSourceCharPosition()
-
getInvoker
final String getInvoker()
-
getInvokerType
final LongTaskEvent.InvokerType getInvokerType()
-
getWindowAttribution
final String getWindowAttribution()
-
toJson
final JsonElement toJson()
-
-
-
-