Performance

Performance shows how long your runs take and where the time goes: a run duration trend, runs that got slower, per-service latency, and the slowest methods, runs and tests. Open it when a suite feels slower than it used to, or to find the services and methods that cost the most time.

Where to find it

Sidebar, group Analyse → Performance.

What it shows

Window and branch

A window of 7 days, 30 days or 90 days (7 is the default) and a Filter branch… field.

Summary numbers

  • Current avg. duration: the average run duration on the most recent day in the window that has timed runs.
  • Duration change: that day's average against the first day's average in the window, as a percentage. Red when longer, green when shorter.
  • Regressed runs: runs that took more than 30% longer than the previous timed run of the same repository.
  • Total runs: every run that started in the window (on the branch, when filtered), counted in full.

Duration trend

Two lines per day: the average run duration and the p95 run duration, with the first and last day of the window under the chart.

Service latency

One row per service: average call duration, number of timed calls, and a bar relative to the slowest service. Sorted slowest first.

Slowest methods

Up to 12 methods with the highest average duration, shown as Class.method, with average time and number of timed calls.

Slowest runs

Up to 10 runs with the longest duration, each with its run key, status and duration. Each row opens the run.

Slowest tests

Up to 12 test cases by duration, with name, suite, status and duration.

Durations are shown as ms, s or m depending on size.

How it works

  • Run duration is the time a run spent running tests, not the time between its first and last report. For each participant (agent or shard) the durations of its tests are added up; the run's duration is the longest participant's total, because shards run side by side. A run still collecting, or one whose tests reported no durations (for example a monitoring window), is left out of the trend, the averages, the regression count and the slowest runs.
  • Trend: runs are grouped by the day they started. p95 is the value at the 95th position of that day's sorted durations.
  • Regressed runs: timed runs are walked in start order; a run counts when it is more than 30% longer than the previous timed run of the same repository in the window.
  • Service latency and slowest methods come from traces recorded by agents, summed from daily roll-ups over the window. Only calls the agent timed count. A method needs at least 3 timed calls to be listed, so one-off spikes stay out. The daily roll-ups do not record a branch, so with a branch filter both panels are counted from the raw traces of that branch's runs that started in the window. Raw traces are kept for 14 days by default (COVERAGEOPS_TRACE_RETENTION_DAYS), so on a longer window a branch reaches back only that far, and the panel hints say so.
  • Slowest tests are read from up to 4,000 of the longest test cases in the window (with a duration above zero). Each test, by suite and name, appears once, with the status of its slowest execution.
  • Branch filter is an exact match on the run's branch. It applies to every panel: the summary numbers, the trend, service latency, slowest methods, the slowest runs and the slowest tests.
  • The newest 500 runs of the window are read for the trend, the averages, the regression count and the slowest runs.

What you can do

  • Switch the window between 7, 30 and 90 days.
  • Type a branch name to limit every section to that branch.
  • Click a run under Slowest runs to open its run detail.

Limits and good to know

  • With a branch filter, Service latency and Slowest methods cover only as many days as raw traces are kept (14 by default), even on the 30- and 90-day windows.
  • In a window with more than 500 runs, the trend, Duration change, Regressed runs and Slowest runs start at the oldest of the newest 500, not at the start of the window.
  • Rows under Slowest tests do not open anything.
  • Without trace data, Service latency and Slowest methods show "No data."