Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(core): extend the set of profiler events #59183

Conversation

pkozlowski-opensource
Copy link
Member

This commit extends the set of events understood by the profiler integrated with the Angular time. The set got extended to account for the recently added functionality and mark entry point to the code execution points.

The new set of events can be visualised by the Angular DevTools or other profiler integrations.

@angular-robot angular-robot bot added detected: feature PR contains a feature commit area: core Issues related to the framework runtime labels Dec 13, 2024
@ngbot ngbot bot added this to the Backlog milestone Dec 13, 2024
@pkozlowski-opensource pkozlowski-opensource added target: minor This PR is targeted for the next minor release action: review The PR is still awaiting reviews from at least one requested reviewer labels Dec 13, 2024
@angular-robot angular-robot bot added area: core Issues related to the framework runtime and removed area: core Issues related to the framework runtime labels Dec 13, 2024
This commit extends the set of events understood by the
profiler integrated with the Angular time. The set got
extended to account for the recently added functionality
and mark entry point to the code execution points.

The new set of events can be visualised by the Angular
DevTools or other profiler integrations.
@angular-robot angular-robot bot added area: core Issues related to the framework runtime and removed area: core Issues related to the framework runtime labels Dec 13, 2024
@pkozlowski-opensource pkozlowski-opensource marked this pull request as ready for review December 13, 2024 14:18
/**
* Corresponds to the point in time just before application bootstrap.
*/
BootstrapApplicationStart,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

re: #59183 (comment)

Maybe it's worth it to explicitly assign values to these enum fields

TemplateCreateStart = 0,
TemplateCreateEnd = 1,
...

Not necessarily a blocker for this PR, but something to think about so that these event identifiers are more explicit instead of relying on implicit values assigned by field ordering

@pkozlowski-opensource pkozlowski-opensource added action: merge The PR is ready for merge by the caretaker and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Dec 18, 2024
@AndrewKushnir
Copy link
Contributor

This PR was merged into the repository by commit 22f191f.

The changes were merged into the following branches: main

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Jan 18, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker area: core Issues related to the framework runtime detected: feature PR contains a feature commit target: minor This PR is targeted for the next minor release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants