summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2024-05-04 06:19:10 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2024-05-04 17:16:24 +0200
commitfe5ec03feba87a1070bb260550758d699fb02e54 (patch)
treef1be8f0f37355cd08dcf3e239bd2da5a58293def
parentfb77ab2ba0125ddfa2fb775acddef7417e2c2462 (diff)
reduce allocs for small noMMU systems
-rw-r--r--test/malloc/malloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/malloc/malloc.c b/test/malloc/malloc.c
index e24ea3f..24dc69b 100644
--- a/test/malloc/malloc.c
+++ b/test/malloc/malloc.c
@@ -4,8 +4,8 @@
#include <string.h>
#include <stdio.h>
-#define N_PTRS 1000
-#define N_ALLOCS 1000
+#define N_PTRS 100
+#define N_ALLOCS 100
#define MAX_SIZE 0x10000
#define random_size() (random()%MAX_SIZE)