# 02/iOS

[iOS] Xcode Instruments

장딴지연 2025. 5. 15. 08:40
반응형

Xcode의 Instruments는 앱이 렉 걸리거나 메모리 누수 의심될 때, FPS 떨어질 때 사용할 수 있는 개발 툴이다.

 

  • Time Profiler (CPU 사용량 분석)
  • Allocations (메모리 사용량 추적)
  • Leaks (메모리 누수 감지)
  • Core Animation (FPS, 레이어 렌더링 시간 확인)
  • Network, Energy, System Trace 

등 이 있다.

 

 

Xcode > Open Developer Tool > Instruments

 

 

 

Activity Monitor 선택

 

 

 

 + Instrument 클릭해서 추가 가능 (Core Animation FPS 검색)

 

 

 

추가 된 모습

 

 

왼쪽 상단의 빨간 재생버튼 클릭

 

 

 

 

반응형