Skip to content

Commit e966269

Browse files
peter-mitsiskartben
authored andcommitted
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 <[email protected]>
1 parent 869acdb commit e966269

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/benchmarks/thread_metric/prj.conf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,6 @@ CONFIG_PICOLIBC_USE_MODULE=y
2323

2424
# Disable Thread Local Storage for better context switching times
2525
CONFIG_THREAD_LOCAL_STORAGE=n
26+
27+
# Disable memory slab pointer validation
28+
CONFIG_MEM_SLAB_POINTER_VALIDATE=n

0 commit comments

Comments
 (0)