compare_profiles
Compare two speedscope profiles to identify percentage changes in performance metrics across frames.
Instructions
Compare two speedscope profiles and show percentage changes.
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": {
"profile_a": "<profile_a>",
"profile_b": "<profile_b>"
},
"name": "compare_profiles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top_n | No | Number of frames to show (default 10). | |
| profile_a | Yes | Path to the first profile. | |
| profile_b | Yes | Path to the second profile. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |