ms 단위 CPU 프로파일링 — 로딩 핫스팟 #11
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
사용자 피드백 #11: 프로그램 구현 시, 로딩이 오래 걸리는 부분 (위성지도 결합, 구조물 빌드 시 등) 은 CPU 이용률이 대폭 증가하는 프로세스를 ms 단위로 추적해서 원인을 규명하고 최적화하는 조치 필요.
적용 결과
harness/perf.py신규 (commitbe82843) —perf_block(label)ctx +set_perf_log().scanvas_maker.py5곳 wire (commitc94b4a7):SCanvasApp.__init__set_perf_log(self.log)(line ~613)PERFORMANCE_BASELINE.md(commite9cc6bf, 397줄) — 19개 핫스팟 카탈로그.출력 포맷 예
잔여
Closed — Phase 1 wire 완료 (commit
470020c).harness/perf.py신규:perf_block(label)ctx +set_perf_log().scanvas_maker.pysetup 2곳 + hotspot wraps 3곳 (PERFORMANCE_BASELINE.md H1/H3/H12 매핑):SCanvasApp.__init__의set_perf_log(self.log)(setup)PERFORMANCE_BASELINE.md19개 핫스팟 카탈로그.출력 형식:
[PERF] {label}: wall={NN}ms cpu={NN}ms (CPU|I/O/Net-bound)— GUI 로그 패널에 자동 표시.후속 (별도 이슈 시 생성): 사용자 실 도면 측정 결과 기반 추가 hotspot wrap (H7·H9·H13·H18 등) + 최적화.