Skip to content

Commit 17df128

Browse files
authored
Add docs for RSP file support (#2348)
1 parent 977c05e commit 17df128

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

docs/articles/guides/console-args.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,21 @@ Now, the default settings are: `WarmupCount=1` but you might still overwrite it
186186
dotnet run -c Release -- --warmupCount 2
187187
```
188188

189+
## Response files support
190+
191+
Benchmark.NET supports parsing parameters via response files. for example you can create file `run.rsp` with following content
192+
```
193+
--warmupCount 1
194+
--minIterationCount 9
195+
--maxIterationCount 12
196+
```
197+
198+
and run it using `dotnet run -c Release -- @run.rsp`. It would be equivalent to running following command line
199+
200+
```log
201+
dotnet run -c Release -- --warmupCount 1 --minIterationCount 9 --maxIterationCount 12
202+
```
203+
189204
## Statistical Test
190205

191206
To perform a Mann–Whitney U Test and display the results in a dedicated column you need to provide the Threshold:

0 commit comments

Comments
 (0)