GeezerVison is showing github.com — deps: update zlib to upstream fc5cfd78a3 by targos · Pull Request #41745 · nodejs/node
Conversation
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
bricss reacted with thumbs up emoji
Updated as described in doc/contributing/maintaining-zlib.md.
Fix the compile flags so that zlib can run on CPUs that do
not have SSSE3/SSE4.2/etc. Do not compile zlib with flags that
indicate that those features are available, and instead enable
them selectively for functions that use them.
There are probably better way to do this, e.g. through gyp file
modifications as suggested in the issue. However, this patch
should do just fine until that happens.
Fixes: nodejs#32553
PR-URL: nodejs#32627
Reviewed-By: Gireesh Punathil <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: Tobias Nießen <[email protected]>
Reviewed-By: James M Snell <[email protected]>
targos
added
the
request-ci
Add this label to start a Jenkins CI on a PR. Only starts once the PR has an approving review.
label
Jan 29, 2022
targos
commented
Jan 29, 2022
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
|
Windows error: D:\a\node\node\deps\zlib\cpu_features.c(52,1): fatal error C1189: #error: cpu_features.c CPU feature detection in not defined for your platform [D:\a\node\node\deps\zlib\zlib.vcxproj]
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment has been minimized.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Error remains on ARM64 Windows but that should be fixable in a similar way.
|
RaisinTen and benjamingr reacted with thumbs up emoji
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Don't we need #33044 to land first?
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Don't we need #33044 to land first?
Why? I'd like that PR to land but it is not being worked on currently.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
If the gyp files are not in sync with the upstream gn files, the compiler won't be passed the expected options which might lead to issues like incorrect code generation - #39313 (comment) or slowdowns - #33044 (comment).
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
I think we'll need help from @nodejs/platform-windows-arm
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Jan 31, 2022
RaisinTen
commented
Feb 3, 2022
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
|
Zlib benchmark CI: https://ci.nodejs.org/job/benchmark-node-micro-benchmarks/1093/
confidence improvement accuracy (*) (**) (***)
zlib/createInflate.js n=100 chunkLen=1024 inputLen=16777216 0.35 % ±7.56% ±10.05% ±13.09%
zlib/creation.js n=500000 options='false' type='BrotliCompress' -1.65 % ±4.25% ±5.65% ±7.36%
zlib/creation.js n=500000 options='false' type='BrotliDecompress' -3.81 % ±4.78% ±6.35% ±8.27%
zlib/creation.js n=500000 options='false' type='Deflate' 0.25 % ±4.22% ±5.62% ±7.31%
zlib/creation.js n=500000 options='false' type='DeflateRaw' -2.12 % ±3.54% ±4.71% ±6.13%
zlib/creation.js n=500000 options='false' type='Gunzip' 1.68 % ±4.18% ±5.57% ±7.27%
zlib/creation.js n=500000 options='false' type='Gzip' 2.04 % ±4.08% ±5.43% ±7.07%
zlib/creation.js n=500000 options='false' type='Inflate' -0.78 % ±3.50% ±4.66% ±6.07%
zlib/creation.js n=500000 options='false' type='InflateRaw' -2.67 % ±2.78% ±3.70% ±4.82%
zlib/creation.js n=500000 options='false' type='Unzip' -2.04 % ±3.31% ±4.41% ±5.74%
zlib/creation.js n=500000 options='true' type='BrotliCompress' 0.84 % ±4.88% ±6.49% ±8.44%
zlib/creation.js n=500000 options='true' type='BrotliDecompress' 0.72 % ±5.75% ±7.65% ±9.97%
zlib/creation.js n=500000 options='true' type='Deflate' -3.15 % ±3.92% ±5.22% ±6.80%
zlib/creation.js n=500000 options='true' type='DeflateRaw' -3.66 % ±4.16% ±5.54% ±7.23%
zlib/creation.js n=500000 options='true' type='Gunzip' -0.02 % ±3.74% ±4.98% ±6.49%
zlib/creation.js n=500000 options='true' type='Gzip' -2.11 % ±4.29% ±5.71% ±7.43%
zlib/creation.js n=500000 options='true' type='Inflate' 1.08 % ±3.96% ±5.27% ±6.86%
zlib/creation.js n=500000 options='true' type='InflateRaw' 2.51 % ±4.65% ±6.19% ±8.07%
zlib/creation.js n=500000 options='true' type='Unzip' ** -5.13 % ±3.42% ±4.55% ±5.93%
zlib/deflate.js n=400000 inputLen=1024 method='createDeflate' -1.70 % ±9.96% ±13.25% ±17.25%
zlib/deflate.js n=400000 inputLen=1024 method='deflate' *** -10.67 % ±5.75% ±7.65% ±9.97%
zlib/deflate.js n=400000 inputLen=1024 method='deflateSync' *** -23.99 % ±10.14% ±13.49% ±17.56%
zlib/inflate.js n=400000 inputLen=1024 method='inflate' -1.77 % ±3.60% ±4.80% ±6.26%
zlib/inflate.js n=400000 inputLen=1024 method='inflateSync' -3.80 % ±4.35% ±5.79% ±7.55%
zlib/pipe.js algorithm='brotli' type='buffer' duration=5 inputLen=1024 2.06 % ±2.10% ±2.79% ±3.65%
zlib/pipe.js algorithm='brotli' type='string' duration=5 inputLen=1024 -0.82 % ±2.79% ±3.72% ±4.84%
zlib/pipe.js algorithm='gzip' type='buffer' duration=5 inputLen=1024 -2.51 % ±4.97% ±6.62% ±8.63%
zlib/pipe.js algorithm='gzip' type='string' duration=5 inputLen=1024 * -7.94 % ±6.27% ±8.38% ±10.97%
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are some performance regressions which need to be fixed before landing this.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Well, I tried :(
I'm closing the PR because I personally don't know how to go further with it, but keeping the branch in case someone wants to use it as a base.
|
RaisinTen reacted with thumbs up emoji
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Reviewers
cjihrig
cjihrig approved these changes
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Labels
needs-ci
PRs that need a full CI run.
zlib
Issues and PRs related to the zlib module and its compression dependencies.
Milestone
No milestone
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|