@servicenow/sdk - v4.9.0
    Preparing search index...

    The PerformanceEntry object encapsulates a single performance metric that is part of the browser's performance timeline.

    MDN Reference

    interface PerformanceEntry {
        duration: number;
        entryType: string;
        name: string;
        startTime: number;
        toJSON(): any;
    }

    Hierarchy (View Summary)

    Index

    Properties

    duration: number

    The read-only duration property returns a timestamp that is the duration of the performance entry. The meaning of this property depends on the value of this entry's entryType.

    MDN Reference

    entryType: string

    The read-only entryType property returns a string representing the type of performance metric that this entry represents.

    MDN Reference

    name: string

    The read-only name property of the PerformanceEntry interface is a string representing the name for a performance entry. It acts as an identifier, but it does not have to be unique. The value depends on the subclass.

    MDN Reference

    startTime: number

    The read-only startTime property returns the first timestamp recorded for this PerformanceEntry. The meaning of this property depends on the value of this entry's entryType.

    MDN Reference

    Methods

    • The toJSON() method is a serializer; it returns a JSON representation of the PerformanceEntry object.

      MDN Reference

      Returns any