Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Profile and optimize application startup time for desktop applications
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-02 | ✗→✓ | ▲ Improved | -32% | 0% |
| case-07 | ✗→✓ | ▲ Improved | -55% | 0% |
| case-08 | ✗→✓ | ▲ Improved | -19% | 0% |
| case-13 | ✗→✓ | ▲ Improved | -66% | 0% |
| case-14 | ✗→✓ | ▲ Improved | -60% | 0% |
Profile and optimize application startup time, identifying bottlenecks in initialization, module loading, and rendering.
json{ "type": "object", "properties": { "projectPath": { "type": "string" }, "framework": { "enum": ["electron", "tauri", "native"] }, "iterations": { "type": "number", "default": 5 } }, "required": ["projectPath"] }
javascript// Add to main.js const startTime = Date.now(); app.on('ready', () => { console.log(`App ready: ${Date.now() - startTime}ms`); }); // Enable tracing app.commandLine.appendSwitch('trace-startup'); app.commandLine.appendSwitch('trace-startup-file', 'startup-trace.json');
| Metric | Good | Acceptable | Poor | |--------|------|------------|------| | Cold start | < 2s | < 4s | > 6s | | Warm start | < 1s | < 2s | > 3s | | Window visible | < 1.5s | < 3s | > 5s |
memory-leak-detectorbundle-size-analyzerOther measured skills in the registry, with their headline benchmark lift.