From 9af62ceb386d236fc9eec1e33c5606258eadb7b8 Mon Sep 17 00:00:00 2001 From: FredApps Date: Sat, 31 Oct 2026 23:07:05 +0100 Subject: [PATCH] Isolate UI frame-budget measurements under nextest --- .config/nextest.toml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.config/nextest.toml b/.config/nextest.toml index 2a4cd2cb93..11ec94cc1a 100644 --- a/.config/nextest.toml +++ b/.config/nextest.toml @@ -1,3 +1,10 @@ # Minimum cargo-nextest for this repository: GHSA-vc25-qg58-w57c is fixed in 0.9.150 and CI # installs exactly that version, so an older nextest refuses to run (exit 92 REQUIRED_VERSION_NOT_MET). nextest-version = "0.9.150" + +# These measurements require a quiet runner. Their in-process SERIAL mutex only +# serializes cargo test; nextest gives each test its own process. Reserve all slots +# so other tests cannot charge their CPU/render-worker time to a frame budget. +[[profile.default.overrides]] +filter = 'package(pdfcraft-ui-egui) & binary(perf)' +threads-required = "num-test-threads"