X Tutup
Skip to content

perf(dom): Only send values for existing properties to js interior#3149

Closed
tbosch wants to merge 1 commit intoangular:masterfrom
tbosch:perffix
Closed

perf(dom): Only send values for existing properties to js interior#3149
tbosch wants to merge 1 commit intoangular:masterfrom
tbosch:perffix

Conversation

@tbosch
Copy link
Copy Markdown
Contributor

@tbosch tbosch commented Jul 20, 2015

Due to #3019 we have to check whether a property exists on a DOM element
not before runtime of the application.

Previously, we did this check in JavaScript, making all property values
go through dart js interop. However, this is slow for complex objects.

This commit changes this behavior to first check whether the property exists
before sending the property value to the DOM element via js interop.

Due to angular#3019 we have to check whether a property exists on a DOM element
not before runtime of the application.

Previously, we did this check in JavaScript, making all property values
go through dart js interop. However, this is slow for complex objects.

This commit changes this behavior to first check whether the property exists
before sending the property value to the DOM element via js interop.
@yjbanov yjbanov added pr_state: LGTM action: merge The PR is ready for merge by the caretaker area: performance Issues related to performance labels Jul 20, 2015
@yjbanov yjbanov added this to the alpha-32 milestone Jul 20, 2015
@yjbanov yjbanov self-assigned this Jul 20, 2015
@tbosch tbosch closed this in 153660f Jul 20, 2015
@tbosch tbosch deleted the perffix branch July 21, 2015 17:28
@angular-automatic-lock-bot
Copy link
Copy Markdown

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 Sep 6, 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 area: performance Issues related to performance cla: yes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

X Tutup