-
Notifications
You must be signed in to change notification settings - Fork 1
/
run.yml
93 lines (90 loc) · 2.15 KB
/
run.yml
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
loaders:
# targetting about 4 tasks/sec, but with some task queues having an excess of workers
# and some having an excess of tasks (createtask will throttle itself to keep a decent
# list of pending tasks)
test-load-create1:
use: createtask
rate: 2
task-queue-id: proj-taskcluster/load-test1
test-load-create2:
use: createtask
rate: 1
task-queue-id: proj-taskcluster/load-test2
test-load-create3:
use: createtask
rate: 1
task-queue-id: proj-taskcluster/load-test3
test-load1:
use: claimwork
parallelism: 100
task-queue-id: proj-taskcluster/load-test1
test-load2:
use: claimwork
parallelism: 100
capacity: 4
task-queue-id: proj-taskcluster/load-test2
test-load3:
use: claimwork
parallelism: 300
task-queue-id: proj-taskcluster/load-test3
# worker metadata
workermeta:
use: workermeta
listworkersrate: 4.3
getworkerrate: 1.5
workerPools:
- proj-taskcluster/load-test1
- proj-taskcluster/load-test2
- proj-taskcluster/load-test3
# purge-cache
purgecache:
use: purgecache
rate: 3.5
workerPools:
- proj-taskcluster/load-test1
- proj-taskcluster/load-test2
- proj-taskcluster/load-test3
# random general API method load generation
index:
use: index
rate: 2
task:
use: gettask
rate: 31.7
hooks:
use: hooks
hookGroupId: proj-taskcluster
hookId: perf-test
rate: 0.1 # no need to inject a lot of task load
gettaskstatus:
use: gettaskstatus
rate: 421 # 421!
getartifacts:
use: getartifacts
listrate: 11
listlatestrate: 11
getrate: 16
getlatestrate: 49
secrets:
use: secrets
rate: 2
secret: garbage
notify:
use: notify
rate: 1
github:
use: github
rate: 1
workermanager:
use: workermanager
workerPoolId: proj-taskcluster/static
rate: 3
pendingtasks:
use: pendingtasks
task-queue-ids:
- proj-taskcluster/load-test1
- proj-taskcluster/load-test2
- proj-taskcluster/load-test3
- builtin/success
- builtin/failure
rate: 0.5 # on top of the rate from the various load generators, above