FluentUI Compat

Home > @cascadiacollections/fluentui-compat > Async > getPerformanceMetrics

Async.getPerformanceMetrics() method

Retrieves performance metrics for this Async instance. Only available in development builds to avoid production overhead.

Signature:

getPerformanceMetrics(): (AsyncPerformanceMetrics & {
        activeTimers: number;
    }) | null;

Returns:

(AsyncPerformanceMetrics & { activeTimers: number; }) | null

Performance metrics object or null in production builds

  • Edit this page
In this article
Back to top FluentUI React complimentary components and utilities focused on render performance