zephyr/tests/benchmarks/thread_metric/prj.conf
Peter Mitsis e96626944b tests: thread_metric: Disable memory slab ptr validation
Disabling the memory slab pointer validation improves the performance
of the memory allocation sub-test by about 9%.

Signed-off-by: Peter Mitsis <peter.mitsis@intel.com>
2024-12-14 01:03:28 +01:00

29 lines
732 B
Plaintext

# Default base configuration file
# Use a tickless kernel to minimize the number of timer interrupts
CONFIG_TICKLESS_KERNEL=y
CONFIG_SYS_CLOCK_TICKS_PER_SEC=100
# Optimize for speed
CONFIG_SPEED_OPTIMIZATIONS=y
# Disable time slicing
CONFIG_TIMESLICING=n
# Test is only designed for a single CPU
CONFIG_MP_MAX_NUM_CPUS=1
# Disabling hardware stack protection can greatly
# improve system performance.
CONFIG_HW_STACK_PROTECTION=n
# Picolibc is faster than Zephyr's minimal libc memcpy
CONFIG_PICOLIBC_SPEED_OPTIMIZATIONS=y
CONFIG_PICOLIBC_USE_MODULE=y
# Disable Thread Local Storage for better context switching times
CONFIG_THREAD_LOCAL_STORAGE=n
# Disable memory slab pointer validation
CONFIG_MEM_SLAB_POINTER_VALIDATE=n