PerformanceObserverEntryList Class

The entries given to the callback of a PerformanceObserver (https://w3c.github.io/performance-timeline/#performanceobserverentrylist-interface).

public sealed class PerformanceObserverEntryList

Methods

NameDescription
GetEntries()Returns the entries, in chronological order.
GetEntriesByName(string, string?)Returns the entries of a name, and optionally of a type, in chronological order.
GetEntriesByType(string)Returns the entries of a type, in chronological order.

GetEntriesByName(string, string?)

PerformanceObserver.cs

Returns the entries of a name, and optionally of a type, in chronological order.

public IReadOnlyList<PerformanceEntry> GetEntriesByName(string name, string? type = null)

GetEntriesByType(string)

PerformanceObserver.cs

Returns the entries of a type, in chronological order.

public IReadOnlyList<PerformanceEntry> GetEntriesByType(string type)