electron_audit_performance
Analyze Electron app code to detect 7 performance anti-patterns, including eager loading, synchronous operations, and heavy preloads. Get specific fixes for each issue.
Instructions
Analyze Electron app code for 7 official performance anti-patterns: eager module loading, synchronous main-process operations, excessive BrowserWindows at startup, unnecessary polyfills, CDN-loaded assets, heavy preload scripts, and unbundled dependencies. Returns specific fixes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mainCode | No | Main process code to analyze | |
| packageJson | No | package.json content to check for bundling and dependencies | |
| preloadCode | No | Preload script code to analyze | |
| rendererCode | No | Renderer process code to analyze |