1# Introduction to Performance Analysis Kit 2 3Performance Analysis Kit provides the event, log, and tracing analysis tools to help you check the running status of your application for further behavior, fault, security, and statistical analysis. 4 5## When to Use 6 7- Application debugging: provides the HiLog function to help you record and obtain log information for fault analysis. 8- Fault locating: provides log, event, and tracing information related to reliability, performance, power consumption, and distributed faults. 9- Online monitoring: provides log, event, and tracing APIs to help you record and analyze the running status of your application. 10 11## Available Capabilities 12 13- HiLog: allows you to record and obtain logs. 14- HiTraceMeter and HiTraceChain: provide performance tracing and cross-thread and cross-process distributed tracing capabilities. 15- HiAppEvent: provides application event logging, which allows you to record fault, behavior, security, and statistical events, subscribe to system events, and set data processors for data upload. 16- FaultLogger: manages fault logs and provides a channel for querying fault logs. 17- HiDebug: provides the usage of applications and system resources. 18 19## Features 20 21**Convenient APM System Setup** 22 23- Provides HiDebug, HiAppEvent, and HiLog APIs to build an APM SDK on the device side for interconnection with the APM developed by vendors. 24- Provides the functions of customizing application events and subscribing to system events so that you can quickly collect events required for O&M. 25 26**Powerful Exception Handling Mechanism** 27 28- Provides simplified, standard, and complete exception logs to accurately record exception propagation paths. 29- Provides a comprehensive exception detection mechanism to detect exceptions in real time, notify the application of exceptions, and automatically restart the application. 30 31**Comprehensive Basic Maintenance and Debugging Capabilities** 32 33- Classifies logs by level and category and supports multiple languages, privacy processing, and traffic control. 34- Provides a complete event framework and mechanisms for event logging, recording, and reporting. 35- Traces process tracks for performance analysis. 36 37## Fault Analysis 38 39Performance Analysis Kit provides comprehensive capabilities such as fault detection and exception handling. As faults vary in causes and symptoms, locating faults is challenging for developers. High stability leads to high efficiency and low cost in application development, and also improves application quality and user experience. Generally, quality can be improved by designing a fault management system, which includes the detection, analysis, locating and rectification of faults, and quality measurement. 40 41To help developers locate and rectify application stability faults, common fault locating methods and fault analysis are introduced, including cases of JS Crash, CppCrash, AppFreeze, and resource leak events. To use this kit effectively, you need to understand programming languages and operating systems. Besides, you need to know how to use DevEco Studio and SDK in practice. 42