zephyr/tests/benchmarks/posix/threads/testcase.yaml
Chris Friedt 3f60489fae tests: benchmarks: move pthread_pressure to benchmarks/posix
The pthread_pressure test was not a typical test per se. It was
a benchmark in search of the proper home.

Let's move it to the correct place in the Zephyr tree, add a
doc, and provide some reporting.

Currently, k_threads out-perform pthreads by almost a factor of
2. The theoretical maximum performance of pthreads would be at
parity of k_threads, since pthreads are a wrapper around kernel
threads. It would be great to reduce the gap.

Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
2024-12-06 06:51:13 +01:00

22 lines
500 B
YAML

common:
tags:
- posix
- benchmark
min_ram: 64
arch_exclude:
- posix
integration_platforms:
- qemu_cortex_a53/qemu_cortex_a53/smp
- qemu_riscv64/qemu_virt_riscv64/smp
- qemu_riscv32/qemu_virt_riscv32/smp
- qemu_x86_64
harness: console
harness_config:
type: one_line
record:
regex: "(?P<api>.*), ALL, (?P<time>.*), (?P<threads>.*), (?P<cores>.*), (?P<rate>.*)"
regex:
- "PROJECT EXECUTION SUCCESSFUL"
tests:
benchmark.posix.threads: {}