1# Copyright (c) 2022 Meta 2# 3# SPDX-License-Identifier: Apache-2.0 4 5config TEST_LIB_HASH_MAP_MAX_ENTRIES 6 int "Maximum number of Hashmap entries" 7 default 40 8 help 9 When benchmarking the performance of the Hashmap, it helps to be able 10 to vary the number of entries to insert or remove from the hash table 11 in a convenient way. This option translates to MANY in the test sources. 12 13 CONFIG_TEST_LIB_HASH_MAP_MAX_ENTRIES 14 15 Of course, using realloc(), we are limited by the amount of available 16 heap memory. For test scenarios using the Minimal C library, the heap 17 size is controlled via 18 19 CONFIG_COMMON_LIBC_MALLOC_ARENA_SIZE 20 21 For native_sim, the number of entries can be configured 22 independently of the arena size since the native libc is used. 23 24source "Kconfig.zephyr" 25