run-windows.ps1 403 B

12345678
  1. param([string]$scenarios="[default]", [string]$server="kestrel")
  2. $scenarios = (-split $scenarios) -join ","
  3. cd Benchmarks
  4. dotnet restore
  5. dotnet publish --configuration Release --output bin\Release\publish
  6. Start-Process -NoNewWindow dotnet -ArgumentList "bin\Release\publish\Benchmarks.dll", "server.urls=http://*:8080", "server=$server", "threadCount=1", "NonInteractive=true", "scenarios=$scenarios"