Spec-Zone.ru › Angular

enableProfiling

Start listening to the Angular's internal performance-related events and route those to the Chrome DevTools performance panel. This enables Angular-specific data visualization when recording a performance profile directly in the Chrome DevTools.

Profiling with the Chrome DevTools

API

function enableProfiling(): () => void;
@returns() => void

a function that can be invoked to stop sending profiling data.

Description

Start listening to the Angular's internal performance-related events and route those to the Chrome DevTools performance panel. This enables Angular-specific data visualization when recording a performance profile directly in the Chrome DevTools.

NOTE: Integration is enabled in the development mode only, this operation is noop in the production mode.

Super-powered by Google ©2010–2025.
Code licensed under an MIT-style License. Documentation licensed under CC BY 4.0.
https://angular.dev/api/core/enableProfiling

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API