CheckRegression
Check for performance regression between a baseline and a comparison profile.
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Request Inputs
Body Fields
baselineIdStringRequiredUnique identifier of the baseline to check against.
Example: bl-20240101
compareIdStringRequiredIdentifier of the profile or session to compare against the baseline.
Example: sess-cmp002
thresholdsObjectRequiredCustom thresholds controlling regression detection sensitivity.
functionDeltaPctLongMinimum percentage change to classify a function as regressed.
Example: 5
newHotspotMinPctLongMinimum percentage for a new function to be considered a hotspot.
Example: 2
criticalDeltaPctLongDelta percentage that triggers a critical severity regression.
Example: 20
criticalHotspotPctLongHotspot percentage that triggers a critical severity classification.
Example: 10
Responses
Endpoint
POST/api/v1/profiling/regression/check
/api/v1/profiling/regression/check
Request Example
curl -X POST '{host}/api/v1/profiling/regression/check' -H 'Authorization: Bearer {token}' -H 'Content-Type: application/json' -d '{"baselineId":"bl-20240101","compareId":"sess-cmp002","thresholds":{"functionDeltaPct":5.0,"newHotspotMinPct":2.0,"criticalDeltaPct":20.0,"criticalHotspotPct":10.0}}'
Response Example
200{
"reportId": "rpt-xyz789",
"baselineLabel": "v1.2.0-release",
"compareLabel": "v1.3.0-candidate",
"profileType": "cpu",
"regressionDetected": true,
"severity": "WARNING",
"changedFunctions": [
{}
],
"newHotspots": [
{}
]
}Change History
This API has no change history records yet.
