This repository contains an iOS application that monitors various performance metrics to ensure a smooth user experience.
- Memory Warnings
- Network Request Errors
- White Screens
- Zombie Objects (i.e., Crashes)
- Frame Rate
- Lag(freeze)
- Launch Duration
- Clone the Repository
git clone https://github.com/CreatoCode/CDDAPM.git
cd CDDAPM
- Enable Monitoring
- In your app delegate or main view controller, initialize the monitoring system:
int main(int argc, char * argv[]) {
[[CDDAPM sharedInstance] appDidLaunch];
[[CDDAPM sharedInstance] startPlugins:CDDAPMProfilingAll];
NSString * appDelegateClassName;
@autoreleasepool {
// Setup code that might create autoreleased objects goes here.
appDelegateClassName = NSStringFromClass([AppDelegate class]);
}
return UIApplicationMain(argc, argv, nil, appDelegateClassName);
}
Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.
Thank you to AlexTing0 for open-sourcing the zombie check DDZombieMonitor。
This project is licensed under the MIT License. See the LICENSE file for details.
If you have any questions or further development requirements, please contact mail:[email protected] or WeChat: CoderDreamTech