Identify computational bottlenecks, analyze parallel scaling, estimate memory requirements, and generate optimization recommendations for materials simulations — parse timing logs to find dominant phases (solver, assembly, I/O), evaluate strong and weak scaling efficiency, profile memory from mesh and field parameters, and detect bottlenecks with actionable fix suggestions. Use when a simulation is running slower than expected, investigating MPI scaling efficiency, planning HPC resource allocation, deciding whether to tune the preconditioner or reduce I/O frequency, or estimating if a problem fits in available RAM, even if the user only says "my simulation is too slow" or "how many nodes do I need."
$npx -y skills add heshamfs/materials-simulation-skills --skill performance-profilingInstalls into the current project.
Run `npx skills use "https://github.com/heshamfs/materials-simulation-skills" --skill "heshamfs/materials-simulation-skills/performance-profiling"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/heshamfs/materials-simulation-skills" that are relevant to the current task. Run `npx skills add "https://github.com/heshamfs/materials-simulation-skills"` and select the relevant skills, then follow their instructions.