From b98fbccdd0180088be7018ae397369f4c5fa9f25 Mon Sep 17 00:00:00 2001 From: umsangdon Date: Mon, 28 Sep 2026 13:30:50 +0900 Subject: [PATCH] =?UTF-8?q?fix(spreadsheet):=20=ED=81=AC=EA=B8=B0=20?= =?UTF-8?q?=EC=98=88=EC=82=B0=20=ED=95=A9=20128=20KB=20=E2=80=94=20?= =?UTF-8?q?=EC=97=94=EC=A7=84=2048=20=C2=B7=20=ED=99=94=EB=A9=B4=2072=20?= =?UTF-8?q?=C2=B7=20css=208=20KB(=EC=82=AC=EC=9A=A9=EC=9E=90=20=EC=A7=80?= =?UTF-8?q?=EC=8B=9C)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 계약 머리 주석 · 크기 시험 숫자 같이 올림 · 지금 크기 엔진 31.5 · 화면 28.8 · css 2.9 KB(합 63.2 KB) Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_019Kyw9qnkJ94pC1A4PfpDtA --- A00_Common/spreadsheet/spreadsheet_types.ts | 4 ++-- resources/tester/spreadsheet/test_spreadsheet_size.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/A00_Common/spreadsheet/spreadsheet_types.ts b/A00_Common/spreadsheet/spreadsheet_types.ts index 97c87688..b941b2a2 100644 --- a/A00_Common/spreadsheet/spreadsheet_types.ts +++ b/A00_Common/spreadsheet/spreadsheet_types.ts @@ -12,8 +12,8 @@ * · 보이는 칸만 그림 · 파일마다 700 줄 안쪽(예산 넘기 전에 쪼갬) · 화면 글자는 그 파일 안에 둠. * · xlsx 가져오기 · 내보내기 · 인쇄 · PDF 는 만들지 않음(단추도 없음). xlsx 는 시험(F)만 읽음. * - * ── 크기 예산 (vite build · 압축(gzip) 뒤 · M02 산출근거를 열 때만 받는 조각) ────── - * 엔진 A+B 32 KB · 화면 C+D+E 28 KB · css 4 KB · 합 64 KB 안쪽. 재는 곳 = F(빌드 조각 크기 시험). + * ── 크기 예산 (vite build · 압축(gzip) 뒤 · M02 면적산출 · 재료산출을 열 때만 받는 조각) ── + * 엔진 A+B 48 KB · 화면 C+D+E 72 KB · css 8 KB · 합 128 KB 안쪽. 재는 곳 = F(빌드 조각 크기 시험). * * ── 파일 · 주인 · 예산 줄 수 ───────────────────────────────────────────────── * 0 spreadsheet_types.ts 이 계약(타입) ~450 diff --git a/resources/tester/spreadsheet/test_spreadsheet_size.py b/resources/tester/spreadsheet/test_spreadsheet_size.py index 926a202d..549afd08 100644 --- a/resources/tester/spreadsheet/test_spreadsheet_size.py +++ b/resources/tester/spreadsheet/test_spreadsheet_size.py @@ -1,6 +1,6 @@ """F — 스프레드시트 크기 예산 · M02 만 늦게 불러옴(계약 `spreadsheet_types.ts` 머리). -예산(압축 gzip 뒤) — 엔진 A+B 32 KB · 화면 C+D+E 28 KB · css 4 KB · 합 64 KB. +예산(압축 gzip 뒤) — 엔진 A+B 48 KB · 화면 C+D+E 72 KB · css 8 KB · 합 128 KB. 엔진 = 엔진 파일만 따로 묶은 크기 · 합 = 실제 앱 빌드에서 스프레드시트를 열 때 받는 조각 (공용 조각까지 넉넉히 셈) · 화면 = 합 − 엔진. """ @@ -16,7 +16,7 @@ import pytest ROOT = Path(__file__).resolve().parents[3] SCRIPT = Path(__file__).with_name("spreadsheet_size.mjs") KB = 1024 -BUDGET = {"engine": 32 * KB, "view": 28 * KB, "css": 4 * KB, "total": 64 * KB} +BUDGET = {"engine": 48 * KB, "view": 72 * KB, "css": 8 * KB, "total": 128 * KB} pytestmark = pytest.mark.skipif(shutil.which("node") is None, reason="node 가 없음")