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

Listeners perf #32495

Conversation

pkozlowski-opensource
Copy link
Member

@pkozlowski-opensource pkozlowski-opensource commented Sep 5, 2019

This PR introduces a new benchmark focused on listeners creation. It also contains small refactoring and performance improvement. Go over this PR commit-by-commit for easier review


// profile create views (run templates in creation mode)
console.profile('create listeners');
for (let i = 0; i < 500000; i++) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Hey can we start using A better way to write perf tests

Copy link
Member Author

Choose a reason for hiding this comment

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

Done, it is using the micro-harness right now.

@mhevery mhevery added the area: core Issues related to the framework runtime label Sep 5, 2019
@ngbot ngbot bot added this to the needsTriage milestone Sep 5, 2019
@pkozlowski-opensource pkozlowski-opensource added comp: ivy target: major This PR is targeted for the next major release action: review The PR is still awaiting reviews from at least one requested reviewer and removed area: core Issues related to the framework runtime labels Sep 10, 2019
@pkozlowski-opensource pkozlowski-opensource marked this pull request as ready for review September 10, 2019 14:21
@pkozlowski-opensource pkozlowski-opensource requested a review from a team as a code owner September 10, 2019 14:21
@mhevery mhevery 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 Sep 10, 2019
Copy link
Contributor

@kara kara left a comment

Choose a reason for hiding this comment

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

LGTM, one nit

@kara kara added the action: presubmit The PR is in need of a google3 presubmit label Sep 10, 2019
@kara kara removed the action: presubmit The PR is in need of a google3 presubmit label Sep 12, 2019
@kara kara closed this in 024765b Sep 12, 2019
kara pushed a commit that referenced this pull request Sep 12, 2019
Before this refactoring we had 2 utility functions to check if a given
TNode has matching directives. This PR leaves just one such function
(one that does less memory read).

PR Close #32495
kara pushed a commit that referenced this pull request Sep 12, 2019
kara pushed a commit that referenced this pull request Sep 12, 2019
arnehoek pushed a commit to arnehoek/angular that referenced this pull request Sep 26, 2019
arnehoek pushed a commit to arnehoek/angular that referenced this pull request Sep 26, 2019
Before this refactoring we had 2 utility functions to check if a given
TNode has matching directives. This PR leaves just one such function
(one that does less memory read).

PR Close angular#32495
arnehoek pushed a commit to arnehoek/angular that referenced this pull request Sep 26, 2019
arnehoek pushed a commit to arnehoek/angular that referenced this pull request Sep 26, 2019
arnehoek pushed a commit to arnehoek/angular that referenced this pull request Sep 26, 2019
@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 Oct 13, 2019
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 cla: yes target: major This PR is targeted for the next major release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants