mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-05-04 14:39:31 +03:00
increase iterations for tsan test
This commit is contained in:
parent
0c322c5566
commit
b123bbe6c0
1 changed files with 7 additions and 4 deletions
|
@ -27,12 +27,15 @@ terms of the MIT license.
|
||||||
// argument defaults
|
// argument defaults
|
||||||
#if !defined(MI_TSAN)
|
#if !defined(MI_TSAN)
|
||||||
static int THREADS = 32; // more repeatable if THREADS <= #processors
|
static int THREADS = 32; // more repeatable if THREADS <= #processors
|
||||||
#else // with thread-sanitizer reduce the defaults for azure pipeline limits
|
|
||||||
static int THREADS = 8;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
static int SCALE = 25; // scaling factor
|
static int SCALE = 25; // scaling factor
|
||||||
static int ITER = 50; // N full iterations destructing and re-creating all threads
|
static int ITER = 50; // N full iterations destructing and re-creating all threads
|
||||||
|
#else // with thread-sanitizer reduce the threads to test within the azure pipeline limits
|
||||||
|
static int THREADS = 8;
|
||||||
|
static int SCALE = 25; // scaling factor
|
||||||
|
static int ITER = 200; // N full iterations destructing and re-creating all threads
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#define STRESS // undefine for leak test
|
#define STRESS // undefine for leak test
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue