1sample: 2 name: Zbus Benchmark 3tests: 4 sample.zbus.benchmark_async: 5 tags: zbus 6 min_ram: 16 7 filter: CONFIG_SYS_CLOCK_EXISTS and not (CONFIG_ARCH_POSIX and not CONFIG_BOARD_NATIVE_SIM) 8 harness: console 9 harness_config: 10 type: multi_line 11 ordered: true 12 regex: 13 - "I: Benchmark 1 to 8 using LISTENERS to transmit with message size: 256 bytes" 14 - "I: Bytes sent = 262144, received = 262144" 15 - "I: Average data rate: (\\d+).(\\d+)MB/s" 16 - "I: Duration: (\\d+).(\\d+)s" 17 - "@(.*)" 18 extra_configs: 19 - CONFIG_BM_ONE_TO=8 20 - CONFIG_BM_MESSAGE_SIZE=256 21 - CONFIG_BM_LISTENERS=y 22 - CONFIG_IDLE_STACK_SIZE=1024 23 integration_platforms: 24 - qemu_x86 25 sample.zbus.benchmark_async_msg_sub: 26 tags: zbus 27 min_ram: 16 28 filter: >- 29 CONFIG_SYS_CLOCK_EXISTS and 30 not (CONFIG_ARCH_POSIX and not CONFIG_BOARD_NATIVE_SIM) and 31 not CONFIG_SMP 32 harness: console 33 harness_config: 34 type: multi_line 35 ordered: true 36 regex: 37 - "I: Benchmark 1 to 8 using MSG_SUBSCRIBERS to transmit with message size: 256 bytes" 38 - "I: Bytes sent = 262144, received = 262144" 39 - "I: Average data rate: (\\d+).(\\d+)MB/s" 40 - "I: Duration: (\\d+).(\\d+)s" 41 - "@(.*)" 42 extra_configs: 43 - CONFIG_BM_ONE_TO=8 44 - CONFIG_BM_MESSAGE_SIZE=256 45 - CONFIG_BM_MSG_SUBSCRIBERS=y 46 - CONFIG_IDLE_STACK_SIZE=1024 47 integration_platforms: 48 - qemu_x86 49 sample.zbus.benchmark_sync: 50 tags: zbus 51 min_ram: 16 52 filter: >- 53 CONFIG_SYS_CLOCK_EXISTS and 54 not (CONFIG_ARCH_POSIX and not CONFIG_BOARD_NATIVE_SIM) and 55 not CONFIG_SMP 56 harness: console 57 harness_config: 58 type: multi_line 59 ordered: true 60 regex: 61 - "I: Benchmark 1 to 8 using SUBSCRIBERS to transmit with message size: 256 bytes" 62 - "I: Bytes sent = 262144, received = 262144" 63 - "I: Average data rate: (\\d+).(\\d+)MB/s" 64 - "I: Duration: (\\d+).(\\d+)s" 65 - "@(.*)" 66 extra_configs: 67 - CONFIG_BM_ONE_TO=8 68 - CONFIG_BM_MESSAGE_SIZE=256 69 - CONFIG_BM_SUBSCRIBERS=y 70 - CONFIG_IDLE_STACK_SIZE=1024 71 integration_platforms: 72 - qemu_x86 73