diff options
author | Michał Gołębiowski-Owczarek <m.goleb@gmail.com> | 2024-11-25 23:21:37 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-25 23:21:37 +0100 |
commit | e4b5e6227717039a9c695b12e40d3f73ffec31b0 (patch) | |
tree | 826e9ed24c23eca1c8212cc454b458272383066f /src/manipulation.js | |
parent | 041f6e347b621227822b900a7a821d341f0c5d53 (diff) | |
download | jquery-e4b5e6227717039a9c695b12e40d3f73ffec31b0.tar.gz jquery-e4b5e6227717039a9c695b12e40d3f73ffec31b0.zip |
Build: Report Brotli sizes in compareSize
So far, we were mostly optimizing gzipped sizes. However, using Brotli is more
and more popular as all modern browsers support it and compression is much
better. It makes sense to also pay attention to these numbers.
The `comparseSize` version stays at `2` as this only introduces a new field
without affecting existing ones. The only drawback is comparisons with branches
that didnt have Brotli computed before will return `NaN`. This can be easily
fixed locally by checking out the branch and running the build, but at least
we don't lose gzipped sizes in the meantime.
Closes gh-5586
Diffstat (limited to 'src/manipulation.js')
0 files changed, 0 insertions, 0 deletions