test: update payload sizes after TS 3.9 update (#36989)

With this changer we update the CLI size-tracking changes for uncompressed
main-es2015 file. This file is larger due to new emitted shape of
ES2015 classes in TypeScript 3.9, which are now wrapped in IIFE.

PR Close #36989
This commit is contained in:
Alan Agius 2020-05-12 14:22:36 +02:00 committed by Kara Erickson
parent 4e1b5e43fa
commit 466df41c8f
3 changed files with 13 additions and 11 deletions

View File

@ -12,8 +12,8 @@
"master": { "master": {
"uncompressed": { "uncompressed": {
"runtime-es2015": 2987, "runtime-es2015": 2987,
"main-es2015": 454179, "main-es2015": 453386,
"polyfills-es2015": 52195 "polyfills-es2015": 52655
} }
} }
}, },

View File

@ -3,7 +3,7 @@
"master": { "master": {
"uncompressed": { "uncompressed": {
"runtime-es2015": 1485, "runtime-es2015": 1485,
"main-es2015": 142794, "main-es2015": 143350,
"polyfills-es2015": 36657 "polyfills-es2015": 36657
} }
} }
@ -21,7 +21,7 @@
"master": { "master": {
"uncompressed": { "uncompressed": {
"runtime-es2015": 1485, "runtime-es2015": 1485,
"main-es2015": 148932, "main-es2015": 149471,
"polyfills-es2015": 36657 "polyfills-es2015": 36657
} }
} }
@ -30,7 +30,7 @@
"master": { "master": {
"uncompressed": { "uncompressed": {
"runtime-es2015": 1485, "runtime-es2015": 1485,
"main-es2015": 138343, "main-es2015": 138866,
"polyfills-es2015": 37334 "polyfills-es2015": 37334
} }
} }
@ -39,7 +39,7 @@
"master": { "master": {
"uncompressed": { "uncompressed": {
"runtime-es2015": 2289, "runtime-es2015": 2289,
"main-es2015": 247761, "main-es2015": 248455,
"polyfills-es2015": 36657, "polyfills-es2015": 36657,
"5-es2015": 751 "5-es2015": 751
} }
@ -49,7 +49,7 @@
"master": { "master": {
"uncompressed": { "uncompressed": {
"runtime-es2015": 2289, "runtime-es2015": 2289,
"main-es2015": 222907, "main-es2015": 223063,
"polyfills-es2015": 36657, "polyfills-es2015": 36657,
"5-es2015": 779 "5-es2015": 779
} }
@ -60,7 +60,8 @@
"uncompressed": { "uncompressed": {
"bundle": "TODO(i): temporarily increase the payload size limit from 105779 - this is due to a closure issue related to ESM reexports that still needs to be investigated", "bundle": "TODO(i): temporarily increase the payload size limit from 105779 - this is due to a closure issue related to ESM reexports that still needs to be investigated",
"bundle": "TODO(i): we should define ngDevMode to false in Closure, but --define only works in the global scope.", "bundle": "TODO(i): we should define ngDevMode to false in Closure, but --define only works in the global scope.",
"bundle": 169991 "bundle": "TODO(i): (FW-2164) TS 3.9 new class shape seems to have broken Closure in big ways. The size went from 169991 to 252338",
"bundle": 252338
} }
} }
} }

View File

@ -46,13 +46,14 @@ INTEGRATION_TESTS = {
"cli-hello-world-ivy-compat": {"commands": "payload_size_tracking"}, "cli-hello-world-ivy-compat": {"commands": "payload_size_tracking"},
"cli-hello-world-ivy-i18n": { "cli-hello-world-ivy-i18n": {
"commands": "payload_size_tracking", "commands": "payload_size_tracking",
"tags": ["no-ivy-aot"], # TODO: (FW-2165) cli-hello-world-ivy-i18n fails on a bundle size check with Ivy bundles
"tags": ["fixme-ivy-aot"],
}, },
"cli-hello-world-ivy-minimal": {"commands": "payload_size_tracking"}, "cli-hello-world-ivy-minimal": {"commands": "payload_size_tracking"},
"cli-hello-world-lazy": { "cli-hello-world-lazy": {
"commands": "payload_size_tracking", "commands": "payload_size_tracking",
# TODO: cli-hello-world-lazy fails on a bundle size check with Ivy bundles # TODO: (FW-2165) cli-hello-world-lazy fails on a bundle size check with Ivy bundles
"tags": ["no-ivy-aot"], "tags": ["fixme-ivy-aot"],
}, },
"cli-hello-world-lazy-rollup": {"commands": "payload_size_tracking"}, "cli-hello-world-lazy-rollup": {"commands": "payload_size_tracking"},
"dynamic-compiler": {"tags": ["no-ivy-aot"]}, "dynamic-compiler": {"tags": ["no-ivy-aot"]},