2017-08-03 18:18:55 -04:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -u -e -o pipefail
|
|
|
|
|
|
|
|
declare -A payloadLimits
|
|
|
|
payloadLimits["hello_world__closure", "uncompressed", "bundle"]=106000
|
|
|
|
payloadLimits["hello_world__closure", "gzip7", "bundle"]=35000
|
|
|
|
payloadLimits["hello_world__closure", "gzip9", "bundle"]=35000
|
|
|
|
|
|
|
|
payloadLimits["cli-hello-world", "uncompressed", "inline"]=1500
|
2017-09-08 21:40:32 -04:00
|
|
|
# TODO(tbosch): find out why this increased, see https://github.com/angular/angular/issues/19113
|
|
|
|
payloadLimits["cli-hello-world", "uncompressed", "main"]=205000
|
2017-08-23 16:04:19 -04:00
|
|
|
payloadLimits["cli-hello-world", "uncompressed", "polyfills"]=64000
|
2017-08-03 18:18:55 -04:00
|
|
|
payloadLimits["cli-hello-world", "gzip7", "inline"]=900
|
2017-09-08 21:40:32 -04:00
|
|
|
# TODO(tbosch): find out why this increased, see https://github.com/angular/angular/issues/19113
|
|
|
|
payloadLimits["cli-hello-world", "gzip7", "main"]=56000
|
2017-08-23 16:04:19 -04:00
|
|
|
payloadLimits["cli-hello-world", "gzip7", "polyfills"]=22000
|
2017-08-03 18:18:55 -04:00
|
|
|
payloadLimits["cli-hello-world", "gzip9", "inline"]=900
|
2017-09-08 21:40:32 -04:00
|
|
|
# TODO(tbosch): find out why this increased, see https://github.com/angular/angular/issues/19113
|
|
|
|
payloadLimits["cli-hello-world", "gzip9", "main"]=56000
|
2017-08-23 16:04:19 -04:00
|
|
|
payloadLimits["cli-hello-world", "gzip9", "polyfills"]=22000
|
2017-08-03 18:18:55 -04:00
|
|
|
|