mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-01-14 16:47:59 +08:00
reduce stress workload for windows pipeline
This commit is contained in:
parent
694315fbe4
commit
78f1f9bd5e
@ -36,10 +36,10 @@ jobs:
|
|||||||
inputs:
|
inputs:
|
||||||
solution: $(BuildType)/libmimalloc.sln
|
solution: $(BuildType)/libmimalloc.sln
|
||||||
configuration: '$(MSBuildConfiguration)'
|
configuration: '$(MSBuildConfiguration)'
|
||||||
#- script: |
|
- script: |
|
||||||
# cd $(BuildType)
|
cd $(BuildType)
|
||||||
# ctest --verbose --timeout 120
|
ctest --verbose --timeout 120
|
||||||
# displayName: CTest
|
displayName: CTest
|
||||||
- upload: $(Build.SourcesDirectory)/$(BuildType)
|
- upload: $(Build.SourcesDirectory)/$(BuildType)
|
||||||
artifact: mimalloc-windows-$(BuildType)
|
artifact: mimalloc-windows-$(BuildType)
|
||||||
|
|
||||||
|
@ -25,9 +25,9 @@ terms of the MIT license.
|
|||||||
// > mimalloc-test-stress [THREADS] [SCALE] [ITER]
|
// > mimalloc-test-stress [THREADS] [SCALE] [ITER]
|
||||||
//
|
//
|
||||||
// argument defaults
|
// 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 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 THREADS = 8; // more repeatable if THREADS <= #processors
|
||||||
// static int SCALE = 100; // scaling factor
|
// static int SCALE = 100; // scaling factor
|
||||||
|
Loading…
x
Reference in New Issue
Block a user