From 52fc2fc12a886a6aefc987f4d6cd14eac4e8e82e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ahmet=20Kaan=20G=C3=BCm=C3=BC=C5=9F?= Date: Fri, 21 Aug 2026 08:50:19 +0300 Subject: [PATCH] test: serialize perf assertions under nextest --- .config/nextest.toml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .config/nextest.toml diff --git a/.config/nextest.toml b/.config/nextest.toml new file mode 100644 index 00000000..17a7cb3f --- /dev/null +++ b/.config/nextest.toml @@ -0,0 +1,18 @@ +# Keep wall-clock performance assertions from sharing CPUs with other nextest jobs. +# These tests are regression tripwires, not throughput benchmarks under load. + +[[profile.default.overrides]] +filter = 'package(ec-opus) & (test(decode_speed) | test(encode_speed))' +threads-required = "num-test-threads" + +[[profile.default.overrides]] +filter = 'package(ec-aac) & test(five_one_decodes_faster_than_realtime)' +threads-required = "num-test-threads" + +[[profile.default.overrides]] +filter = 'package(ec-h265) & (test(intra_1080p_beats_the_incumbent_on_twelve_threads) | test(ctb_32_is_the_faster_tree_at_1080p))' +threads-required = "num-test-threads" + +[[profile.default.overrides]] +filter = 'package(ec-hw) & (test(ten_bit_4k_frame_path_is_realtime) | test(p010_zero_copy_encode_is_realtime))' +threads-required = "num-test-threads"