startup-time-profiler

Profile and optimize application startup time for desktop applications

509 stars

Best use case

startup-time-profiler is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Profile and optimize application startup time for desktop applications

Teams using startup-time-profiler should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/startup-time-profiler/SKILL.md --create-dirs "https://raw.githubusercontent.com/a5c-ai/babysitter/main/library/specializations/desktop-development/skills/startup-time-profiler/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/startup-time-profiler/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How startup-time-profiler Compares

Feature / Agentstartup-time-profilerStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Profile and optimize application startup time for desktop applications

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# startup-time-profiler

Profile and optimize application startup time, identifying bottlenecks in initialization, module loading, and rendering.

## Capabilities

- Measure cold and warm start times
- Identify module loading bottlenecks
- Profile initialization phases
- Generate timeline visualizations
- Provide optimization recommendations
- Set up CI performance tracking

## Input Schema

```json
{
  "type": "object",
  "properties": {
    "projectPath": { "type": "string" },
    "framework": { "enum": ["electron", "tauri", "native"] },
    "iterations": { "type": "number", "default": 5 }
  },
  "required": ["projectPath"]
}
```

## Electron Startup Profiling

```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');
```

## Optimization Techniques

1. Lazy load modules
2. Defer non-critical initialization
3. Optimize bundle size
4. Use V8 snapshots
5. Preload critical resources

## Benchmarks

| Metric | Good | Acceptable | Poor |
|--------|------|------------|------|
| Cold start | < 2s | < 4s | > 6s |
| Warm start | < 1s | < 2s | > 3s |
| Window visible | < 1.5s | < 3s | > 5s |

## Related Skills

- `memory-leak-detector`
- `bundle-size-analyzer`

Related Skills

performance-profiler

509
from a5c-ai/babysitter

Profile application performance including CPU, memory, and flame graph generation

opencl-runtime

509
from a5c-ai/babysitter

Cross-vendor OpenCL runtime management and kernel development. Query platforms/devices, generate portable OpenCL C kernel code, handle vendor-specific extensions, manage contexts and command queues, compile and cache programs.

nsight-profiler

509
from a5c-ai/babysitter

Expert skill for NVIDIA Nsight Systems and Nsight Compute profiling tools. Configure profiling sessions, analyze kernel reports, interpret occupancy metrics, roofline model data, memory bandwidth bottlenecks, and warp execution efficiency.

unity-profiler

509
from a5c-ai/babysitter

Unity Profiler skill for performance analysis, frame debugging, memory profiling, and optimization workflows.

power-profiler

509
from a5c-ai/babysitter

Power consumption measurement and analysis expertise for embedded systems. Integrates with power analyzer tools to measure, profile, and optimize power consumption in battery-powered and energy-efficient designs.

multimedia-learning-design

509
from a5c-ai/babysitter

Apply Mayer's multimedia learning principles to design effective audio, video, graphics, and animations that reduce cognitive load

time-series-analyzer

509
from a5c-ai/babysitter

Skill for time series analysis and forecasting

time-study-analyzer

509
from a5c-ai/babysitter

Time study analysis skill with stopwatch methods, performance rating, and standard time calculation.

takt-time-calculator

509
from a5c-ai/babysitter

Takt time and cycle time analysis skill for production line balancing and capacity planning.

metaphlan-profiler

509
from a5c-ai/babysitter

MetaPhlAn metagenomic profiling skill for species-level community composition

humann-functional-profiler

509
from a5c-ai/babysitter

HUMAnN functional profiling skill for metagenomic pathway analysis

cycle-time-analyzer

509
from a5c-ai/babysitter

Cycle time analysis and reduction skill with process timing, bottleneck identification, and flow improvement