run-linux.sh 306 B

1234567891011121314
  1. #!/bin/bash
  2. fw_depends mono dotnetcore
  3. threadCount=$2
  4. if [ "$threadCount" -lt "1" ]
  5. then
  6. threadCount=1
  7. fi
  8. cd Benchmarks
  9. dotnet restore
  10. dotnet build -c Release -f netcoreapp1.0
  11. dotnet run -c Release server.urls=http://*:8080 scenarios=$1 server=kestrel threadCount=$threadCount NonInteractive=true &