mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-05-06 23:39:31 +03:00
fix test stress
This commit is contained in:
parent
09ad6d2819
commit
5b685ef183
1 changed files with 3 additions and 3 deletions
|
@ -36,7 +36,7 @@ static int ITER = 400;
|
||||||
static int THREADS = 8;
|
static int THREADS = 8;
|
||||||
static int SCALE = 25;
|
static int SCALE = 25;
|
||||||
static int ITER = 20;
|
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 THREADS = 8;
|
||||||
static int SCALE = 10;
|
static int SCALE = 10;
|
||||||
static int ITER = 10;
|
static int ITER = 10;
|
||||||
|
@ -331,13 +331,13 @@ int main(int argc, char** argv) {
|
||||||
#ifndef NDEBUG
|
#ifndef NDEBUG
|
||||||
mi_debug_show_arenas();
|
mi_debug_show_arenas();
|
||||||
mi_collect(true);
|
mi_collect(true);
|
||||||
|
/*
|
||||||
const char* json = mi_stats_get_json(0, NULL);
|
const char* json = mi_stats_get_json(0, NULL);
|
||||||
if (json != NULL) {
|
if (json != NULL) {
|
||||||
puts(json);
|
puts(json);
|
||||||
mi_free(json);
|
mi_free(json);
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
#endif
|
#endif
|
||||||
mi_stats_print(NULL);
|
mi_stats_print(NULL);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue