What problem does it solve?
This Skill provides comprehensive performance optimization guidelines for Capacitor apps, addressing issues such as slow app performance, memory leaks, and inefficient rendering.
Core Features & Use Cases
- Performance Metrics Tracking: Offers targets for First Paint, Time to Interactive, Frame Rate, Memory usage, and Bundle Size.
- Performance Optimization Techniques: Covers lazy loading plugins, reducing bundle size, optimizing images, minimizing bridge calls, and using CSS transforms.
- Memory Management Strategies: Provides guidance on listener cleanup and avoiding memory leaks.
- Profiling Tools: Recommends using Chrome DevTools, Xcode Instruments, and Android Profiler for app profiling.
- Use Case: A developer has a Capacitor app that experiences slow performance and would like to optimize its performance for better user experience.
Quick Start
Use the capacitor-performance skill to optimize the performance of your Capacitor app, focusing on reducing bundle size and improving rendering performance.