The common tools library contains a method timeChangeDetection, this prints out how long it took angular to run change detection. It outputs the number of cycles ran (numTicks) and how long each cycle took (msPerTick).
|
timeChangeDetection(config: any) { |
In addition to printing that information to console.log, would be great if the method returned the numTicks and msPerTick values, rather than returning nothing. This would allow clients to have programmatic access to the values.