Skip to content

Instantly share code, notes, and snippets.

@sebastienros
Created September 8, 2020 17:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sebastienros/67cb8c06a4bb4bd0740c881c60cc7cdb to your computer and use it in GitHub Desktop.
Save sebastienros/67cb8c06a4bb4bd0740c881c60cc7cdb to your computer and use it in GitHub Desktop.
imports:
- https://raw.githubusercontent.com/dotnet/crank/master/src/Microsoft.Crank.Jobs.Bombardier/bombardier.yml
- https://raw.githubusercontent.com/dotnet/crank/master/src/Microsoft.Crank.Jobs.Wrk/wrk.yml
jobs:
sample:
source:
repository: https://github.com/SixLabors/ImageSharp.Web
# branchOrCommit: master
branchOrCommit: crank
project: samples/ImageSharp.Web.Sample/ImageSharp.Web.Sample.csproj
initSubModules: true
readyStateText: Application started.
scenarios:
resize-width:
application:
job: sample
load:
job: wrk
variables:
serverPort: 5000
path: /imagesharp-logo.png?width=300
profiles:
local:
variables:
serverUri: http://localhost
jobs:
application:
endpoints:
- http://localhost:5010
load:
endpoints:
- http://localhost:5010
aspnet-perf-lin:
variables:
serverPort: 5000
serverAddress: 10.0.0.102
cores: 12
jobs:
db:
endpoints:
- http://asp-perf-db:5001
application:
endpoints:
- http://asp-perf-lin:5001
variables:
databaseServer: 10.0.0.103
load:
endpoints:
- http://asp-perf-load:5001
aspnet-perf-win:
variables:
serverPort: 5000
serverAddress: 10.0.0.110
cores: 12
jobs:
db:
endpoints:
- http://asp-perf-load:5001
application:
endpoints:
- http://asp-perf-win:5001
variables:
databaseServer: 10.0.0.104
load:
endpoints:
- http://asp-perf-db:5001
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment