Skip to main content
Monitoring & Collection/Profiling
POSTProfilingSince 1.0SynchronousAuth Required

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

  • baselineIdStringRequired

    Unique identifier of the baseline to check against.

    Example: bl-20240101

  • compareIdStringRequired

    Identifier of the profile or session to compare against the baseline.

    Example: sess-cmp002

  • thresholdsObjectRequired

    Custom thresholds controlling regression detection sensitivity.

    • functionDeltaPctLong

      Minimum percentage change to classify a function as regressed.

      Example: 5

    • newHotspotMinPctLong

      Minimum percentage for a new function to be considered a hotspot.

      Example: 2

    • criticalDeltaPctLong

      Delta percentage that triggers a critical severity regression.

      Example: 20

    • criticalHotspotPctLong

      Hotspot percentage that triggers a critical severity classification.

      Example: 10

Responses

200 OK

On success, this API returns the following response structure.

  • reportIdString

    Unique identifier of this regression report.

    Example: rpt-xyz789

  • baselineLabelString

    Label of the baseline used in the regression check.

    Example: v1.2.0-release

  • compareLabelString

    Label of the comparison profile used in the regression check.

    Example: v1.3.0-candidate

  • profileTypeString

    Profile type used for this regression analysis.

    Example: cpu

  • regressionDetectedBoolean

    Whether a performance regression was detected.

    Example: true

  • severityString

    Severity level of the detected regression.

    Example: WARNING

  • changedFunctionsList

    Functions whose CPU usage changed between baseline and comparison.

    Example: (nested array)

    • funcNameString

      Fully-qualified name of the function that changed.

      Example: net/http.(*Transport).roundTrip

    • baselinePctLong

      Function's CPU percentage in the baseline profile.

      Example: 3.2

    • comparePctLong

      Function's CPU percentage in the comparison profile.

      Example: 8.7

    • deltaPctLong

      Absolute change in percentage between baseline and comparison.

      Example: 5.5

    • directionString

      Direction of change for this function's resource usage.

      Example: increased

  • newHotspotsList

    New hotspot functions appearing in the comparison profile.

    Example: (nested array)

    • funcNameString

      Fully-qualified name of the function that changed.

      Example: net/http.(*Transport).roundTrip

    • baselinePctLong

      Function's CPU percentage in the baseline profile.

      Example: 3.2

    • comparePctLong

      Function's CPU percentage in the comparison profile.

      Example: 8.7

    • deltaPctLong

      Absolute change in percentage between baseline and comparison.

      Example: 5.5

    • directionString

      Direction of change for this function's resource usage.

      Example: increased

  • disappearedHotspotsList

    Hotspot functions that disappeared from the comparison profile.

    Example: (nested array)

    • funcNameString

      Fully-qualified name of the function that changed.

      Example: net/http.(*Transport).roundTrip

    • baselinePctLong

      Function's CPU percentage in the baseline profile.

      Example: 3.2

    • comparePctLong

      Function's CPU percentage in the comparison profile.

      Example: 8.7

    • deltaPctLong

      Absolute change in percentage between baseline and comparison.

      Example: 5.5

    • directionString

      Direction of change for this function's resource usage.

      Example: increased

  • createdAtString

    Timestamp when this regression report was created.

    Example: 2026-01-15T08:00:00Z

Endpoint

POST/api/v1/profiling/regression/check

/api/v1/profiling/regression/check

Operation ID

CheckRegression

Permalink

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.

View all change history