| 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+)s" |
| - "@(.*)" |
| extra_configs: |
| - CONFIG_BM_ONE_TO=8 |
| - CONFIG_BM_MESSAGE_SIZE=256 |
| - CONFIG_BM_ASYNC=y |
| - arch:nios2:CONFIG_SYS_CLOCK_TICKS_PER_SEC=1000 |
| - CONFIG_IDLE_STACK_SIZE=1024 |
| platform_exclude: nrf52_bsim |
| 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+)s" |
| - "@(.*)" |
| extra_configs: |
| - CONFIG_BM_ONE_TO=8 |
| - CONFIG_BM_MESSAGE_SIZE=256 |
| - CONFIG_BM_ASYNC=n |
| - arch:nios2:CONFIG_SYS_CLOCK_TICKS_PER_SEC=1000 |
| - CONFIG_IDLE_STACK_SIZE=1024 |
| platform_exclude: nrf52_bsim |