electron_audit_performance
Analyze Electron app code to detect 8 official performance anti-patterns and receive specific fixes for issues like eager module loading, synchronous main-process operations, and renderer blocking.
Instructions
Analyze Electron app code for the 8 official performance anti-patterns: eager module loading, synchronous main-process operations, unnecessary polyfills, unbundled code, CDN-loaded assets, renderer blocking, excessive BrowserWindows, and IPC over-communication. Returns specific fixes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mainCode | No | Main process code to analyze | |
| rendererCode | No | Renderer process code to analyze | |
| preloadCode | No | Preload script code to analyze | |
| packageJson | No | package.json content to check for bundling and dependencies |