fix test stress

This commit is contained in:
Daan Leijen 2025-03-02 15:35:12 -08:00
parent 09ad6d2819
commit 5b685ef183

View file

@ -36,7 +36,7 @@ static int ITER = 400;
static int THREADS = 8;
static int SCALE = 25;
static int ITER = 20;
#elif 1 || defined(MI_GUARDED) // with debug guard pages reduce parameters to stay within the azure pipeline limits
#elif defined(MI_GUARDED) // with debug guard pages reduce parameters to stay within the azure pipeline limits
static int THREADS = 8;
static int SCALE = 10;
static int ITER = 10;
@ -331,13 +331,13 @@ int main(int argc, char** argv) {
#ifndef NDEBUG
mi_debug_show_arenas();
mi_collect(true);
/*
const char* json = mi_stats_get_json(0, NULL);
if (json != NULL) {
puts(json);
mi_free(json);
}
*/
#endif
mi_stats_print(NULL);
#endif