@zendesk/react-measure-timing-hooks
Version: 
react hooks for measuring time to interactive and time to render of components
9 lines (8 loc) • 456 B
TypeScript
/**
 * Copyright Zendesk, Inc.
 *
 * Use of this source code is governed under the Apache License, Version 2.0
 * found at http://www.apache.org/licenses/LICENSE-2.0.
 */
export declare const performanceMark: (name: string, markOptions?: PerformanceMarkOptions, realMark?: boolean) => PerformanceMark;
export declare const performanceMeasure: (name: string, startMark: PerformanceEntry, endMark?: PerformanceEntry, detail?: unknown) => PerformanceMeasure;