-
Notifications
You must be signed in to change notification settings - Fork 27k
Description
Is this a bug report or a feature request?
- Bug Report
- Feature Request
Please provide the steps to reproduce the issue [Bug Report only]
No response
Please provide the expected behavior vs the actual behavior you encountered [Bug Report only]
No response
Please provide a screenshot if possible [Bug Report only]
No response
Please provide the exception or error you saw [Bug Report only]
No response
Is this a browser-specific issue? If so, please specify the device, browser, and version. [Bug Report only]
No
Description [Feature Request only]
The profiler shows something like this:
In my case, the method changes is shown instead of ngDoCheck. The directive has no method changes. This is confusing. Please document what the method changes describes.
Note: I'm currently profiling a closed source app. Hence, I can't share the code. One component takes multiple seconds. The profiler shows
| Directive | Method | Time |
|---|---|---|
| ChildComponent | changes | 5012.3 ms |
If I remove ChildComponent and profile again, it shows me
| Directive | Method | Time |
|---|---|---|
| ParentComponent | changes | 5012.3 ms |
It's unclear to me, what takes the time. Based on the first profiling result, I thought that ChildComponent is the cause of the issue and removing would solve it. However, this seems to have been a misinterpretation.
Proposed solution [Feature Request only]
Document the possible values (especially changes) of Method in the guide: https://angular.io/guide/devtools
Alternatives considered [Feature Request only]
Document the possible values (especially changes) of Method in the DevTools itself, i.e. a tooltip
