🦀 ClawHub
Performance Profiler
by @honestqiao
Analyze code performance to identify bottlenecks, detect redundant computations and blocking operations, and provide optimization recommendations.
TERMINAL
clawhub install performance-profiler📖 About This Skill
Performance Profiler
分析代码性能,识别瓶颈并提供优化建议。
功能
触发词
检测问题
输出示例
{
"issues": [
{
"type": "loop_push",
"location": "line 42",
"suggestion": "使用数组推导式或预先分配"
}
],
"complexity": "O(n²)",
"score": 75
}