perf
Analyze code performance bottlenecks and provide optimization recommendations for algorithms, memory usage, React applications, databases, or comprehensive analysis.
Instructions
【性能分析】分析代码性能瓶颈并提供优化建议
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | 需要性能分析的代码 | |
| type | No | 分析类型:algorithm, memory, react, database, all(默认 all) |
Input Schema (JSON Schema)
{
"properties": {
"code": {
"description": "需要性能分析的代码",
"type": "string"
},
"type": {
"description": "分析类型:algorithm, memory, react, database, all(默认 all)",
"type": "string"
}
},
"required": [],
"type": "object"
}