cpu-profile
A skill kept in the ClickHouse repository for finding where a ClickHouse query spends CPU time, using the server's built-in sampling profiler rather than Linux perf.
O que a skill ensina
A skill kept in the ClickHouse repository for finding where a ClickHouse query spends CPU time, using the server's built-in sampling profiler rather than Linux perf. Given a query ID, the agent analyses existing traces; given SQL, it runs the query through clickhouse-client with a fresh ID and fine-grained profiler settings; with no input it can list recent slow queries. Three parallel subagents pull the busiest leaf functions, the most common full stacks and a collapsed-stack export from the trace log, and the agent reports hotspots, a breakdown by subsystem and findings. Follow-ups filter by function, compare wall-clock with CPU samples or draw a flamegraph. It needs introspection functions enabled and the debug symbols package.
O que faz
- Run a ClickHouse query with the sampling profiler
- List the busiest functions and stacks
- Export collapsed stacks for a flamegraph
- Compare wall-clock and CPU samples
Sobre
- Publicador
- ClickHouse
- Ferramenta
- Depuração
Funciona com
Instalação
O projeto não documenta passos de instalação que tenhamos conseguido confirmar. Veja as instruções do próprio projeto
Servidores MCP e skills podem executar código no seu computador e agir sobre os seus dados. Revise o código-fonte antes de instalar.
Detalhes
| Fato | Valor | Fonte |
|---|---|---|
| Tipo | Skill | |
| Ferramenta | Depuração | |
| Publicador | ClickHouse | fonte |
| Status oficial | Não informado na documentação | |
| Exige chave de API ou login | Não informado na documentação | |
| Inclui scripts | Não | fonte |
| Plataformas | Não informado na documentação | |
| Clientes de IA | Claude Code | fonte |
| Licença | Apache-2.0 | fonte |
| Preço | Não informado na documentação | |
| Atividade | Último commit em 11 de nov. de 202650.877 estrelas no GitHubDados de download indisponíveis (não está no npm nem no PyPI) | fonte |
| Links | Repositório Site |
Mais de ClickHouse
22 skills
- clickhouse-pr-description (Skill)
- continue-pr (Skill)
- good-prs (Skill)
- alloc-profile (Skill)
- bisect (Skill)
- clean-old-worktrees-global (Skill)
Também listado em: Depuração
Fontes
- Arquivo da skill (SKILL.md)github.com/ClickHouse/ClickHouse · Comprova: Inclui scripts10 de nov. de 2026
- Repositório no GitHubgithub.com/ClickHouse/ClickHouse · Comprova: Publicador17 de nov. de 2026
- Repositório no GitHubgithub.com/clickhouse/clickhouse · Comprova: Atividade, Licença11 de nov. de 2026
- Pasta no repositório (cpu-profile)github.com/ClickHouse/ClickHouse · Comprova: Inclui scripts10 de nov. de 2026