Uh oh!
There was an error while loading. Please reload this page.
build: shrink bloated addon binaries on windows - #2060
Conversation
rvagg
commented
Mar 4, 2020
Are there any backward compatibility concerns with this, or is it just going to impact size? It'd be good one to repeat the problems we had with duplicate symbol checking #1891 tagged @joaocgreis too |
codebytere
commented
Mar 6, 2020
@rvagg to my knowledge this just affects size! |
rvagg
commented
Mar 9, 2020
sgtm, would prefer one of our windows reviewers to sign off tho |
bzoz
left a comment
There was a problem hiding this comment.
LGTM!
Used this node-gyp to run Node vcbuild test-addons, everything was ok.
PR-URL: #2060 Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com>
rvagg
commented
Mar 13, 2020
cool, landed @ e18a61a |
cclauss
commented
Mar 13, 2020
Nice work. Size matters. Do we have a few anecdotes about how much smaller the new binaries are? |
rvagg
commented
Mar 13, 2020
btw is there any reason to not backport this to 5.x? |
codebytere
commented
Apr 13, 2020
@rvagg oops, this blew me by - no i don't think so, we should be fine to land this on |
codebytere
commented
May 5, 2020
@rvagg what's the typical backport process for this? I can open a PR against the |
rvagg
commented
May 6, 2020
Ah, not really a proper process or timeline for this. I normally just cherry-pick things not server-major, 5.x is super close to master anyway. I’ll try and do a batch this week and see what it looks like for a release. I guess were due for some action around here including a 7.x. |
PR-URL: #2060 Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com>
Checklist
npm install && npm testpassesDescription of change
Closesnodejs/node#29501.
Refs #1118.
Moves build-time optimizations to
node-gypto shrink the binary size accidentally bloated by a change tocommon.gypiin core. Also furthers the goal of decoupling addons from being affected bycommon.gypichanges.Feel free to tell me if this isn't quite what the issue had in mind and i'll adapt accordingly.
cc @richardlau@deepak1556