diff --git a/run-tests.sh b/run-tests.sh index 4ab2044..a284afb 100755 --- a/run-tests.sh +++ b/run-tests.sh @@ -36,4 +36,17 @@ done echo -e "$SUMMARY" +echo + +for env in test-environments/*-prod; do + name=$(basename "$env") + path="test-environments/$name/target/cljsbuild/prod-test/main.js" + if [[ -f "$path" ]]; then + echo "$name $(./node_modules/.bin/gzip-size "$path")" + fi +done + +echo +echo "NOTE: These sizes include Reagent test suite which also uses React-dom/server, so this doesn't demonstrate real use case." + exit $EXIT