zephyr/tests/subsys/settings/performance/testcase.yaml
Omkar Kulkarni 97166a5c11 tests: settings: Performance test for settings
This adds a on target performance test for Settings SS. Using this test
performance of the Setting SS + NVS/ZMS backend can be benchmarked.

The test repeatedly write 128 settings entries. Each setting entry
has a size of 4 bytes, and path length of 16 bytes (excluding the
null-terminator).

The test has two variants, with and without Bluetooth scan running.
This is useful to benchmark performance along with some component
of BT subsystem activated.

The test could be enhanced in future to include or create combinations
of different functionalities running, when agreesive store operations
are happening.

Signed-off-by: Omkar Kulkarni <omkar.kulkarni@nordicsemi.no>
2025-02-13 16:40:41 +01:00

67 lines
1.5 KiB
YAML

tests:
settings.performance.zms:
extra_configs:
- CONFIG_SETTINGS_ZMS=y
- CONFIG_ZMS_LOOKUP_CACHE=y
- CONFIG_ZMS_LOOKUP_CACHE_SIZE=512
platform_allow:
- nrf52840dk/nrf52840
- nrf54l15dk/nrf54l15/cpuapp
min_ram: 32
tags:
- settings
- zms
settings.performance.nvs:
extra_configs:
- CONFIG_ZMS=n
- CONFIG_NVS=y
- CONFIG_NVS_LOOKUP_CACHE=y
- CONFIG_NVS_LOOKUP_CACHE_SIZE=512
- CONFIG_SETTINGS_NVS_NAME_CACHE=y
- CONFIG_SETTINGS_NVS_NAME_CACHE_SIZE=512
platform_allow:
- nrf52840dk/nrf52840
- nrf54l15dk/nrf54l15/cpuapp
min_ram: 32
tags:
- settings
- nvs
settings.performance.zms_bt:
extra_configs:
- CONFIG_BT=y
- CONFIG_BT_OBSERVER=y
- CONFIG_BT_PERIPHERAL=y
- CONFIG_SETTINGS_ZMS=y
- CONFIG_ZMS_LOOKUP_CACHE=y
- CONFIG_ZMS_LOOKUP_CACHE_SIZE=512
platform_allow: nrf52840dk/nrf52840
platform_exclude:
- native_sim
- qemu_x86
min_ram: 32
tags:
- settings
- zms
settings.performance.nvs_bt:
extra_configs:
- CONFIG_BT=y
- CONFIG_BT_OBSERVER=y
- CONFIG_BT_PERIPHERAL=y
- CONFIG_ZMS=n
- CONFIG_NVS=y
- CONFIG_NVS_LOOKUP_CACHE=y
- CONFIG_NVS_LOOKUP_CACHE_SIZE=512
- CONFIG_SETTINGS_NVS_NAME_CACHE=y
- CONFIG_SETTINGS_NVS_NAME_CACHE_SIZE=512
platform_allow: nrf52840dk/nrf52840
platform_exclude:
- native_sim
- qemu_x86
min_ram: 32
tags:
- settings
- nvs