Receber por email
← Voltar para o catálogo

code-profiler

Analisa o desempenho do código e identifica gargalos.

1.4kestrelas
Atualizado há 4 meses

Ver no GitHub ↗ Licença: MIT

Como adicionar

/plugin marketplace add a5c-ai/babysitter

O comando exato pode variar conforme o repositório. Confira o README no GitHub.

Para o autor da skill

Cole no README do seu repo

Mostra que sua skill está catalogada na Skillteca, gera backlink e tráfego rastreável.

[![Skillteca](https://www.skillteca.com.br/api/badge/code-profiler/svg)](https://www.skillteca.com.br/skills/code-profiler)

Skills relacionadas

Ver todas de Automação →

Alerta por categoria

Receba novas skills de Automação toda segunda

1 email curto, só com as skills novas de Automação. 4 minutos de leitura, sem spam, cancela com 1 clique.

Você confirma o email no primeiro envio. Sem spam. Cancela com 1 clique.

Ler descrição completa

Code Profiler Skill

Purpose

Profile algorithm implementations to identify performance bottlenecks and optimization opportunities.

Capabilities

  • Runtime profiling
  • Memory profiling
  • Cache miss analysis
  • Hot spot identification
  • Optimization suggestions
  • Comparative benchmarking

Target Processes

  • code-level-optimization
  • complexity-optimization
  • memory-optimization

Profiling Dimensions

Time Profiling

  • Function-level timing
  • Line-by-line profiling
  • Call graph analysis
  • Hot spot detection

Memory Profiling

  • Heap allocation tracking
  • Memory leak detection
  • Peak memory usage
  • Allocation patterns

Cache Analysis

  • Cache miss rates
  • Memory access patterns
  • Data locality issues

Input Schema

{
  "type": "object",
  "properties": {
    "code": { "type": "string" },
    "language": { "type": "string" },
    "profileType": {
      "type": "string",
      "enum": ["time", "memory", "cache", "all"]
    },
    "testInput": { "type": "string" },
    "iterations": { "type": "integer", "default": 1 }
  },
  "required": ["code", "profileType"]
}

Output Schema

{
  "type": "object",
  "properties": {
    "success": { "type": "boolean" },
    "timing": { "type": "object" },
    "memory": { "type": "object" },
    "hotSpots": { "type": "array" },
    "recommendations": { "type": "array" }
  },
  "required": ["success"]
}

Integration

Can integrate with profiling tools like gprof, perf, Valgrind, cProfile, and language-specific profilers.

Compartilhar X LinkedIn