Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

feat(performance): onProperty handler use global wrapFn, other performance improve.#872

Merged
mhevery merged 2 commits intoangular:masterfrom
JiaLiPassion:performance
Aug 12, 2017
Merged

feat(performance): onProperty handler use global wrapFn, other performance improve.#872
mhevery merged 2 commits intoangular:masterfrom
JiaLiPassion:performance

Conversation

@JiaLiPassion
Copy link
Copy Markdown
Collaborator

  1. we have use global callback in EventTarget.addEventListener, we should also use the same mechanism for onProperty=listener logic. We can use a global wrapFn instead of create a new function every time.

  2. other small improvements, basically use const string to make sure not create too many strings.

  3. Chrome 60 support HTMLFrameSetElement.prototype.onmessageerror, patch it.

@mhevery mhevery merged commit a66595a into angular:master Aug 12, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants