# performance-investigation

> Claude/Codex skill by [@sveltejs](https://omgskills.com/library/sveltejs/index.md) · 88k stars · Updated 2026-10-23

Investigate performance regressions and find opportunities for optimization

Tags: compiler, template, ui

## Install

```sh
git clone https://github.com/sveltejs/svelte /tmp/svelte && ln -s /tmp/svelte/.agents/skills/performance-investigation ~/.claude/skills/performance-investigation
```

## From README

Start from a branch you want to measure (for example foo). Run: If you pass one branch, bench:compare automatically compares it to main. Where outputs go Summary report: benchmarking/compare/.results/report.txt Raw benchmark numbers: benchmarking/compare/.results/main.json benchmarking/compare/.results/ .json CPU profiles (per benchmark, per branch): benchmarking/compare/.profiles/main/.cpuprofile benchmarking/compare/.profiles/main/.md benchmarking/compare/.profiles/ /.cpuprofile benchmarking/compare/.profiles/ /.md The .md files are generated summaries of the CPU profile and are usually the fastest way to inspect hotspots. Suggested investigation flow Open benchmarking/compare/.results/report.txt and identify largest regressions first.

## Links

- HTML page: https://omgskills.com/skills/sveltejs/svelte/performance-investigation/
- GitHub: https://github.com/sveltejs/svelte
- Author: [@sveltejs](https://omgskills.com/library/sveltejs/index.md)

## More skills by this author

- [svelte-code-writer](https://omgskills.com/skills/sveltejs/ai-tools/svelte-code-writer/index.md) — CLI tools for Svelte 5 documentation lookup and code analysis.
   - [@sveltejs](https://omgskills.com/library/sveltejs/index.md) · 334 stars
- [svelte-core-bestpractices](https://omgskills.com/skills/sveltejs/ai-tools/svelte-core-bestpractices/index.md) — Guidance on writing fast, robust, modern Svelte code.
   - [@sveltejs](https://omgskills.com/library/sveltejs/index.md) · 334 stars
