Skip to content

[v8.x backport] crypto: make createXYZ inlineable - #16446

Closed
lpinca wants to merge 1 commit into
nodejs:v8.x-stagingfrom
lpinca:backport/16067
Closed

[v8.x backport] crypto: make createXYZ inlineable#16446
lpinca wants to merge 1 commit into
nodejs:v8.x-stagingfrom
lpinca:backport/16067

Conversation

@lpinca

Copy link
Copy Markdown
Member

This is a backport of #16067 as requested.

cc: @MylesBorins

This commit increase by around 10% hot code paths that are hitting
createXYZ functions. Before this change the createXYZ called the XYZ
constructor without new.
PR-URL: nodejs#16067
Reviewed-By: Bryan English <bryan@bryanenglish.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Yosuke Furukawa <yosuke.furukawa@gmail.com>
Reviewed-By: Evan Lucas <evanlucas@me.com>
Reviewed-By: Benedikt Meurer <benedikt.meurer@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Timothy Gu <timothygu99@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
@nodejs-github-botnodejs-github-bot added crypto Issues and PRs related to the crypto subsystem. v8.x labels Oct 24, 2017
@lpincalpinca added the blocked PRs that are blocked by other issues or PRs. label Oct 24, 2017
@lpincalpinca mentioned this pull request Oct 24, 2017
3 tasks
@lpincalpinca removed the blocked PRs that are blocked by other issues or PRs. label Oct 24, 2017
@gibfahn
gibfahnforce-pushed the v8.x-staging branch 5 times, most recently from b183192 to fc8acc8CompareOctober 30, 2017 21:42
@gibfahngibfahn added the baking-for-lts PRs that need to wait before landing in a LTS release. label Oct 30, 2017
@gibfahn

gibfahn commented Oct 30, 2017

Copy link
Copy Markdown
Member

Leaving this to bake for a while in 8.x sounds good to me (#16067 (comment))

Unfortunately that probably means this will have conflicts at some point. @lpinca don't worry about rebasing until someone pings you 😁 .

@gibfahn
gibfahnforce-pushed the v8.x-staging branch 2 times, most recently from 97c2301 to ab0d7a6CompareOctober 31, 2017 00:16
@lpinca

lpinca commented Dec 19, 2017

Copy link
Copy Markdown
MemberAuthor

Ping @nodejs/lts. I think this has baked long enough, probably burnt by now :)

@gibfahn

Copy link
Copy Markdown
Member

gibfahn pushed a commit that referenced this pull request Dec 19, 2017
This commit increase by around 10% hot code paths that are hitting
createXYZ functions. Before this change the createXYZ called the XYZ
constructor without new.
PR-URL: #16067
Backport-PR-URL: #16446
Reviewed-By: Bryan English <bryan@bryanenglish.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Yosuke Furukawa <yosuke.furukawa@gmail.com>
Reviewed-By: Evan Lucas <evanlucas@me.com>
Reviewed-By: Benedikt Meurer <benedikt.meurer@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Timothy Gu <timothygu99@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
@gibfahn

Copy link
Copy Markdown
Member

Landed in 64164c7

@gibfahngibfahn closed this Dec 19, 2017
@lpinca
lpinca deleted the backport/16067 branch December 19, 2017 19:05
gibfahn pushed a commit that referenced this pull request Dec 20, 2017
This commit increase by around 10% hot code paths that are hitting
createXYZ functions. Before this change the createXYZ called the XYZ
constructor without new.
PR-URL: #16067
Backport-PR-URL: #16446
Reviewed-By: Bryan English <bryan@bryanenglish.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Yosuke Furukawa <yosuke.furukawa@gmail.com>
Reviewed-By: Evan Lucas <evanlucas@me.com>
Reviewed-By: Benedikt Meurer <benedikt.meurer@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Timothy Gu <timothygu99@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
@MylesBorinsMylesBorins removed the baking-for-lts PRs that need to wait before landing in a LTS release. label Aug 17, 2018
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cryptoIssues and PRs related to the crypto subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

@lpinca@gibfahn@BridgeAR@MylesBorins@nodejs-github-bot@mcollina