From 1b8cb126c655c8791f82a70da630fe2a35e3d4ca Mon Sep 17 00:00:00 2001 From: DongHyeonka Date: Wed, 4 Nov 2026 23:13:56 +0900 Subject: [PATCH] =?UTF-8?q?build(perf):=20=EC=B4=88=EA=B8=B0=20JS=20?= =?UTF-8?q?=ED=8C=8C=EC=9D=BC=20=EC=83=81=ED=95=9C=EC=9D=84=2026=EA=B0=9C?= =?UTF-8?q?=EB=A1=9C=20=EC=98=AC=EB=A6=B0=EB=8B=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 문제 fix/r1103-release(15-05)는 초기 JS 파일 수 상한을 그 브랜치의 개수(25)로 두었다. fix/r1103-examples(15-01)는 플랫폼 구성 화면이 실행부 레지스트리 조립 모듈을 동적으로 받게 했다. 그 결과 그 모듈과 초기 그래프가 함께 쓰는 installed-product-manifest(198 B gzip)가 따로 떨어져 초기 파일이 하나 늘었다. 두 브랜치를 합친 빌드는 26개이고 check:bundle이 "initial JavaScript files 26 > budget 25"로 실패한다. 고른 방법 - 상한을 26으로 올린다. performance-evidence.md의 규칙대로 초기 파일을 늘린 이유를 같은 변경에 적는다. 이 파일은 15-01(lab 게이트 회복)의 결과이고, 템플릿은 HTTP/2 서빙을 전제로 한다(13-02). - 버린 대안: manualChunks로 그 모듈을 초기 청크에 묶기. 198 B 하나 때문에 청크 그룹 규칙이 하나 늘고, 셸을 바꿀 때마다 다시 재야 한다. 위험·한계 - 합계 바이트 예산(204,800 B)은 그대로다. 검증 - check:bundle PASS(26/26 파일). - performance-budgets·bundle-artifact-contract 테스트 통과. Refs: docs/reviews/2026-11-03-maturity-review/15-performance.md 15-05 15-01 --- config/performance/budgets.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/performance/budgets.json b/config/performance/budgets.json index 495e8a98..d7f66a62 100644 --- a/config/performance/budgets.json +++ b/config/performance/budgets.json @@ -2,7 +2,7 @@ "schemaVersion": 1, "bundle": { "initialJsGzipBytes": 204800, - "initialJsFiles": 25, + "initialJsFiles": 26, "lazyChunkGzipBytes": 122880 }, "lab": {