diff options
author | Nadia Barbosa <nadiabarbosa@me.com> | 2019-04-12 14:17:41 -0700 |
---|---|---|
committer | Nadia Barbosa <nadiabarbosa@me.com> | 2019-04-12 14:17:41 -0700 |
commit | 50bbe5aa39599e7a90a64a3ef4fc9813d5b65b0b (patch) | |
tree | 3e607966761d4bd09dbf3164bfee3e1b2c1324cd | |
parent | 894e4d28afd108b6d06ca9a95a5ce2042ed32cc6 (diff) | |
download | qtlocation-mapboxgl-50bbe5aa39599e7a90a64a3ef4fc9813d5b65b0b.tar.gz |
Dump more textupstream/master-04c39cf0b
-rwxr-xr-x | scripts/check_binary_size.js | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/scripts/check_binary_size.js b/scripts/check_binary_size.js index 42cb451acf..e5d6e9405e 100755 --- a/scripts/check_binary_size.js +++ b/scripts/check_binary_size.js @@ -66,7 +66,13 @@ github.apps.createInstallationToken({installation_id: SIZE_CHECK_APP_INSTALLATIO const title = (() => { if (prior) { const change = size - prior; - console.log(`change: ${size} - ${prior} = ${change}`) + var textDump = ` + prior = ${prior} + {size} = ${size} + change = ${change} + ` + console.log(textDump); + const percent = (change / prior) * 100; return `${change >= 0 ? '+' : ''}${prettyBytes(change)} ${percent.toFixed(3)}% (${prettyBytes(size)})`; } else { |