atlas_profiler
Profiles code performance with Big-O analysis, identifies CPU/memory/IO hotspots, detects memory leaks, and generates optimization suggestions with benchmarks.
Instructions
Performance profiling and Big-O analysis. Analyzes time/space complexity, identifies CPU/memory/IO hotspots, detects memory leaks, and generates optimization suggestions with benchmark code.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The code to profile | |
| filePath | No | Optional file path | |
| language | Yes | Programming language | |
| inputSizes | No | Input sizes for Big-O analysis | |
| analyzeTime | No | Analyze time complexity (default: true) | |
| constraints | No | Performance constraints | |
| detectLeaks | No | Detect memory leaks (default: true) | |
| analyzeSpace | No | Analyze space complexity (default: true) | |
| identifyHotspots | No | Identify performance hotspots (default: true) | |
| expectedInputSize | No | Expected input size | |
| generateBenchmark | No | Generate benchmark code |