reduce stress workload for windows pipeline

This commit is contained in:
daan 2020-09-05 11:16:40 -07:00
parent 694315fbe4
commit 78f1f9bd5e
2 changed files with 6 additions and 6 deletions

View File

@ -36,10 +36,10 @@ jobs:
inputs:
solution: $(BuildType)/libmimalloc.sln
configuration: '$(MSBuildConfiguration)'
#- script: |
# cd $(BuildType)
# ctest --verbose --timeout 120
# displayName: CTest
- script: |
cd $(BuildType)
ctest --verbose --timeout 120
displayName: CTest
- upload: $(Build.SourcesDirectory)/$(BuildType)
artifact: mimalloc-windows-$(BuildType)

View File

@ -25,9 +25,9 @@ terms of the MIT license.
// > mimalloc-test-stress [THREADS] [SCALE] [ITER]
//
// argument defaults
static int THREADS = 32; // more repeatable if THREADS <= #processors
static int THREADS = 8; // more repeatable if THREADS <= #processors
static int SCALE = 10; // scaling factor
static int ITER = 50; // N full iterations destructing and re-creating all threads
static int ITER =100; // N full iterations destructing and re-creating all threads
// static int THREADS = 8; // more repeatable if THREADS <= #processors
// static int SCALE = 100; // scaling factor