40 lines
1.1 KiB
YAML
40 lines
1.1 KiB
YAML
sample:
|
|
name: Benchmark
|
|
tests:
|
|
sample.zbus.benchmark_async:
|
|
tags: zbus
|
|
min_ram: 16
|
|
filter: CONFIG_SYS_CLOCK_EXISTS
|
|
harness: console
|
|
harness_config:
|
|
type: multi_line
|
|
ordered: true
|
|
regex:
|
|
- "I: Benchmark 1 to 8: Dynamic memory, ASYNC transmission and message size 256"
|
|
- "I: Bytes sent = 262144, received = 262144"
|
|
- "I: Average data rate: (\\d+).(\\d+)MB/s"
|
|
- "I: Duration: (\\d+).(\\d+)us"
|
|
- "@(.*)"
|
|
extra_configs:
|
|
- CONFIG_BM_ONE_TO=8
|
|
- CONFIG_BM_MESSAGE_SIZE=256
|
|
- CONFIG_BM_ASYNC=y
|
|
sample.zbus.benchmark_sync:
|
|
tags: zbus
|
|
min_ram: 16
|
|
filter: CONFIG_SYS_CLOCK_EXISTS
|
|
harness: console
|
|
harness_config:
|
|
type: multi_line
|
|
ordered: true
|
|
regex:
|
|
- "I: Benchmark 1 to 8: Dynamic memory, SYNC transmission and message size 256"
|
|
- "I: Bytes sent = 262144, received = 262144"
|
|
- "I: Average data rate: (\\d+).(\\d+)MB/s"
|
|
- "I: Duration: (\\d+).(\\d+)us"
|
|
- "@(.*)"
|
|
extra_configs:
|
|
- CONFIG_BM_ONE_TO=8
|
|
- CONFIG_BM_MESSAGE_SIZE=256
|
|
- CONFIG_BM_ASYNC=n
|