run-linux.sh 372 B

1234567891011121314
  1. #!/bin/bash
  2. threadCount=$2
  3. if [ "$threadCount" -lt "1" ]
  4. then
  5. threadCount=1
  6. fi
  7. cd Benchmarks
  8. cp appsettings.postgresql.json appsettings.json
  9. dotnet restore
  10. dotnet publish --configuration Release --output bin/Release/publish
  11. dotnet bin/Release/publish/Benchmarks.dll server.urls=http://*:8080 scenarios=$1 server=kestrel threadCount=$threadCount NonInteractive=true