ci: tighten size threshold to 1% or 500 bytes (#33969)

The size diff threshold of 1% has proven to be too lenient for us
to catch size regressions in AIO. Since the AIO main bundle is
between 400-500 KB, a size regression must be between 4-5 KB before
it will cause the tests to fail. As a result, we may merge many
changes with smaller regressions of a few KB before the size test
eventually lets us know that the number has increased. The hope is
that lowering the threshold will help us catch the smaller
regressions during code review and prevent the size tests failing at
a random later time when someone catches the size "hot potato".

PR Close #33969
This commit is contained in:
Kara Erickson
2019-11-21 11:42:11 -08:00
committed by Matias Niemelä
parent ff1be4cd28
commit d752e26eb2
3 changed files with 29 additions and 16 deletions

View File

@ -21,7 +21,7 @@
"master": {
"uncompressed": {
"runtime-es2015": 3097,
"main-es2015": 436779,
"main-es2015": 439352,
"polyfills-es2015": 52503
}
}