Compare Profiles
compare_profilesCompare two CPU profiles side-by-side to reveal slower/faster functions and new or removed hotspots, helping pinpoint performance changes between baseline and comparison runs.
Instructions
Compare two loaded CPU profiles side-by-side. Shows functions that got slower/faster and new/removed hotspots.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"baseProfileId": "<baseProfileId>",
"compareProfileId": "<compareProfileId>"
},
"name": "compare_profiles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of top changes to show | |
| baseProfileId | Yes | Profile ID of the baseline (before) | |
| compareProfileId | Yes | Profile ID to compare (after) |