tests: benchmarks: optimize filters and use platform_key.

Benchmarks are not tests, we run them to verify they still work and do
not bitrot. Running them on each architecture should be sufficient.

This reduces amount of churn in CI and still allows them to be run
individually on platforms.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2024-11-26 04:23:37 -05:00 committed by Benjamin Cabé
commit 057ba5cf45
10 changed files with 19 additions and 1 deletions

View file

@ -1,4 +1,6 @@
common:
platform_key:
- arch
tags:
- benchmark
- kernel

View file

@ -1,5 +1,7 @@
tests:
benchmark.data_structure_perf.dlist:
platform_key:
- arch
tags:
- benchmark
- dlist

View file

@ -1,5 +1,7 @@
tests:
benchmark.data_structure_perf.rbtree:
platform_key:
- arch
tags:
- benchmark
- rbtree

View file

@ -1,4 +1,6 @@
common:
platform_key:
- arch
tags:
- kernel
- benchmark

View file

@ -1,5 +1,7 @@
tests:
benchmark.kernel.scheduler:
platform_key:
- arch
tags:
- benchmark
- kernel

View file

@ -1,4 +1,7 @@
common:
platform_key:
- arch
min_ram: 32
tags:
- kernel
- benchmark

View file

@ -5,7 +5,6 @@ tests:
- kernel
- benchmark
- userspace
slow: true
filter: CONFIG_ARCH_HAS_USERSPACE
arch_exclude:
- posix

View file

@ -1,5 +1,7 @@
tests:
benchmark.kernel.core:
platform_key:
- arch
tags:
- kernel
- benchmark

View file

@ -1,4 +1,6 @@
common:
platform_key:
- arch
tags:
- kernel
- benchmark

View file

@ -1,4 +1,6 @@
common:
platform_key:
- arch
tags:
- kernel
- benchmark