Skip to content

Warn when the CPU is unstable during a test on Linux - #2673

Merged
soulgalore merged 1 commit into
mainfrom
cpu-stability-linux
Nov 25, 2026
Merged

soulgalore merged 1 commit into
mainfrom
cpu-stability-linux

Conversation

@soulgalore

Copy link
Copy Markdown
Member

The CPU benchmark runs inside the page under test after the metrics are collected. Because of this, it mostly shows how busy the page was, not why the timings vary between runs. On cloud machines the usual causes are noisy neighbours (steal time) and thermal throttling, and the benchmark can't see either of them.

On Linux, browsertime now reads steal time and thermal throttling events from the kernel while the page is measured. It stores them for each iteration and warns when the CPU was not stable. That way you can tell a slow page from a slow machine.

Assisted-by: Claude Opus 5.5 noreply@anthropic.com

The CPU benchmark runs inside the page under test after the metrics are collected. Because of this, it mostly shows how busy the page was, not why the timings vary between runs. On cloud machines the usual causes are noisy neighbours (steal time) and thermal throttling, and the benchmark can't see either of them.

On Linux, browsertime now reads steal time and thermal throttling events from the kernel while the page is measured. It stores them for each iteration and warns when the CPU was not stable. That way you can tell a slow page from a slow machine.

Assisted-by: Claude Opus 5.5 noreply@anthropic.com
@soulgalore
soulgalore merged commit 40aeaf2 into main Nov 25, 2026
20 checks passed
@soulgalore
soulgalore deleted the cpu-stability-linux branch November 25, 2026 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant