forked from aspnet/Benchmarks
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstaticfiles.benchmarks.yml
More file actions
34 lines (30 loc) · 949 Bytes
/
staticfiles.benchmarks.yml
File metadata and controls
34 lines (30 loc) · 949 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Examples:
# --config staticfiles.benchmarks.yml --scenario static --profile aspnet-perf-lin
imports:
- https://raw.githubusercontent.com/dotnet/crank/main/src/Microsoft.Crank.Jobs.Wrk/wrk.yml
- https://raw.githubusercontent.com/aspnet/Benchmarks/main/scenarios/aspnet.profiles.yml
variables:
serverScheme: http
serverPort: 5000
jobs:
benchmark:
source:
repository: https://github.com/aspnet/benchmarks.git
branchOrCommit: main
project: src/BenchmarksApps/StaticFiles/StaticFiles.csproj
readyStateText: Application started.
variables:
filename: file.txt
sizeInBytes: 1024
arguments: "--filename {{filename}} --size {{sizeInBytes}} --urls {{serverScheme}}://{{serverAddress}}:{{serverPort}}"
scenarios:
static:
application:
job: benchmark
variables:
filename: file.txt
sizeInBytes: 1024
load:
job: wrk
variables:
path: /file.txt