compare_profiles
Analyze performance differences between original and optimized Python code by comparing CPU, GPU, and memory profiling data to identify improvements and regressions.
Instructions
Compare two profiles to measure optimization impact.
Args: before_id: Profile ID from original code after_id: Profile ID from optimized code
Returns: {runtime_change_pct, memory_change_pct, improvements, regressions, summary_text}
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| before_id | Yes | ||
| after_id | Yes |