• 개요
@angular/core

enableProfiling

함수
안정화v21.0부터

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.

API

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

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

설명

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.

상세 내용으로 이동