기기(소프트웨어)
Instruments (software)이 글에는 iOS 기기에서 앱의 성능을 프로파일링하기 위한 Instruments 앱의 사용에 대한 정보가 누락되어 있다.(2020년 6월) |
![]() | |
개발자 | 애플 |
---|---|
안정적 해제 | 11.6 (Xcode 버전과 동일) / 2020년 5월 20일 |
운영 체제 | 마코스 |
유형 | 추적 & 프로파일링 |
면허증 | 프리웨어.소유권 |
웹사이트 | help.apple.com/instruments |
Instruments(이전의 Xray)는 Xcode 3.0 이상 버전의 Xcode에 통합되어 있는 응용 프로그램 성능 분석기 및 시각화기존 Xray는 Xcode 3.0 이상 버전에 통합되어 있다.맥 OS X v10.5에 포팅된 오픈솔라리스의 DTrace 추적 프레임워크 위에 구축되었으며, 이 프레임워크는 다음의 모든 버전의 맥OS에서 사용할 수 있다.
계측기는 CPU 활동 변화, 메모리 할당, 네트워크 및 파일 활동과 같은 애플리케이션에서 발생하는 모든 이벤트를 그래프와 통계와 함께 표시하는 시간대를 보여준다.이벤트 그룹은 사용자 생성 이벤트를 기록하여 필요에 따라 정확하게 재생(emulate)할 수 있는 기능을 가진 사용자 지정 가능한 "계기"를 통해 모니터링되므로 개발자는 실제로 반복 작업을 하지 않고도 코드 변경의 효과를 볼 수 있다.Instrument Builder 기능은 사용자 정의 분석 기구를 만들 수 있다.[1]
특징들
내장된 계측기가 추적 가능
- 프로세스 및 스레드의 CPU 활동.[2]
- 메모리 할당 및 릴리스,[3] 가비지 수집 및 메모리 누수.[4]
- 파일 읽기, 쓰기,[5] 잠금
- 네트워크 활동 및 트래픽.[6]이 계측기는 Activity Monitor와 같이 작동하지만 향후 참조를 위해 데이터를 저장한다.
- OpenGL[7] 및 Metal의 그래픽 및 내부 작업.[8]
- 에너지 진단 및 "죽은"[9] 물체
- UI 자동화 및 핵심 애니메이션.
- 키보드 키를 누르고 마우스를 정확한 시간으로 이동 및 클릭하는 등의 사용자 이벤트
참조
- ^ "Add an instrument to a trace document - Instruments Help". Archived from the original on June 20, 2020.
- ^ "Track CPU core and thread use- Instruments Help". Archived from the original on June 20, 2020.
- ^ "Find abandoned memory - Instruments Help". Archived from the original on June 20, 2020.
- ^ "Find memory leaks - Instruments Help". Archived from the original on June 20, 2020.
- ^ "Monitor disk use - Instruments Help". Archived from the original on June 20, 2020.
- ^ "Use Activity Monitor to track overall network and disk use - Instruments Help". Archived from the original on June 20, 2020.
- ^ "Optimizing Performance with the GPU Counters Instrument - Apple Developer Documentation". Archived from the original on June 20, 2020.
- ^ "Using Metal System Trace in Instruments to Profile Your App - Apple Developer Documentation". Archived from the original on June 20, 2020.
- ^ "Measure the energy impact of an iOS device - Instruments Help". Archived from the original on June 20, 2020.
참고 항목