mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-22 08:23:05 -05:00
tools: run-perf-tests: 'self' option changed to 'baseline'
This commit is contained in:
parent
c7d6fc355b
commit
6cfda75447
@ -26,7 +26,7 @@ test_script:
|
||||
- tools\nmake-ext-test.bat %CONFIGURATION%
|
||||
- if %TESTING%==Func tools\run-tests.bat %CONFIGURATION%
|
||||
- if %TESTING%==Func tools\run-tests.bat %CONFIGURATION% ifstest
|
||||
- if %TESTING%==Perf tools\run-perf-tests.bat %CONFIGURATION% self
|
||||
- if %TESTING%==Perf tools\run-perf-tests.bat %CONFIGURATION% baseline
|
||||
- if exist %SystemRoot%\memory.dmp exit 1
|
||||
|
||||
on_finish:
|
||||
|
@ -17,7 +17,7 @@ if !ERRORLEVEL! equ 0 echo warning: verifier for winfsp is ON >&2
|
||||
set launchctl="%ProjRoot%\build\VStudio\build\%Configuration%\launchctl-x64.exe"
|
||||
set fsbench="%ProjRoot%\build\VStudio\build\%Configuration%\fsbench-x64.exe"
|
||||
|
||||
if X%2==Xself (
|
||||
if X%2==Xbaseline (
|
||||
%launchctl% start memfs64 testdsk "" M: >nul
|
||||
rem Cannot use timeout under cygwin/mintty: "Input redirection is not supported"
|
||||
waitfor 7BF47D72F6664550B03248ECFE77C7DD /t 3 2>nul
|
||||
@ -28,25 +28,25 @@ mkdir fsbench
|
||||
pushd fsbench
|
||||
|
||||
set OptFiles=1000 2000 3000 4000 5000
|
||||
if X%2==Xself set OptFiles=10000
|
||||
if X%2==Xbaseline set OptFiles=10000
|
||||
for %%a in (%OptFiles%) do (
|
||||
call :csv %%a "%fsbench% --files=%%a file_*"
|
||||
)
|
||||
|
||||
set OptRdwrCc=100 200 300 400 500
|
||||
if X%2==Xself set OptRdwrCc=1000
|
||||
if X%2==Xbaseline set OptRdwrCc=1000
|
||||
for %%a in (%OptRdwrCc%) do (
|
||||
call :csv %%a "%fsbench% --rdwr-cc=%%a rdwr_cc_*"
|
||||
)
|
||||
|
||||
set OptRdwrNc=100 200 300 400 500
|
||||
if X%2==Xself set OptRdwrNc=100
|
||||
if X%2==Xbaseline set OptRdwrNc=100
|
||||
for %%a in (%OptRdwrNc%) do (
|
||||
call :csv %%a "%fsbench% --rdwr-nc=%%a rdwr_nc_*"
|
||||
)
|
||||
|
||||
set OptMmap=100 200 300 400 500
|
||||
if X%2==Xself set OptMmap=1000
|
||||
if X%2==Xbaseline set OptMmap=1000
|
||||
for %%a in (%OptMmap%) do (
|
||||
call :csv %%a "%fsbench% --mmap=%%a mmap_*"
|
||||
)
|
||||
@ -54,7 +54,7 @@ for %%a in (%OptMmap%) do (
|
||||
popd
|
||||
rmdir fsbench
|
||||
|
||||
if X%2==Xself (
|
||||
if X%2==Xbaseline (
|
||||
%launchctl% stop memfs64 testdsk >nul
|
||||
rem Cannot use timeout under cygwin/mintty: "Input redirection is not supported"
|
||||
waitfor 7BF47D72F6664550B03248ECFE77C7DD /t 3 2>nul
|
||||
|
Loading…
x
Reference in New Issue
Block a user