API

Interface IPerfCustomEvent

Defines the shape of a custom user registered event.

interface IPerfCustomEvent {
    name: string;
    value?: number;
}
Index
name: string

The name of the event.

value?: number

The value for the event, if set we will use it as the value, otherwise we will count the number of occurrences.