Home > widget-integration > JavaScriptMetrics

JavaScriptMetrics interface

JavaScript execution timing metrics

Signature:

export interface JavaScriptMetrics 

Properties

Property

Modifiers

Type

Description

asyncWaitTime

number

Time spent waiting for async operations

averageFunctionTime

number

Average function execution time

functionCallCount

number

Number of function calls tracked

slowestFunctionName?

string

(Optional) Name of the slowest function

slowestFunctionTime

number

Slowest function execution time

syncTime

number

Time spent in synchronous code

totalExecutionTime

number

Total JavaScript execution time