Skip to content

[Transforms] Performance improvements in the binder.#8899

Merged
rbuckton merged 5 commits into
transformsfrom
transforms-binderPerf
May 31, 2016
Merged

[Transforms] Performance improvements in the binder.#8899
rbuckton merged 5 commits into
transformsfrom
transforms-binderPerf

Conversation

@rbuckton
Copy link
Copy Markdown
Contributor

This extracts logic from computeTransformFlagsForNode for switch cases that use properties on Node subtypes. This allows NodeJS (or other hosts) to make deoptimization decisions for each branch rather than for the entire computeTransformFlagsForNode function which reduces bind time by 10-14% depending on scenario when compared to the "transforms" branch.

This also manually inlines the updateTransformFlags function as it was too polymorphic to be properly inlined.

@rbuckton rbuckton added the Domain: API: Transforms Relates to the public transform API label May 31, 2016
@rbuckton
Copy link
Copy Markdown
Contributor Author

CC: @vladima, @yuit, @sandersn, @mhegazy

@yuit
Copy link
Copy Markdown
Contributor

yuit commented May 31, 2016

👍

1 similar comment
@sandersn
Copy link
Copy Markdown
Member

👍

@rbuckton rbuckton merged commit 0f8341f into transforms May 31, 2016
@rbuckton rbuckton deleted the transforms-binderPerf branch May 31, 2016 22:49
@microsoft microsoft locked and limited conversation to collaborators Jun 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Domain: API: Transforms Relates to the public transform API

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants