-
Notifications
You must be signed in to change notification settings - Fork 20
380 lines (337 loc) · 10.7 KB
/
run_all.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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
# Auto Generated YAML please don't change
name: 'Run All'
on:
workflow_dispatch:
inputs:
node-versions:
required: true
type: string
default: '["18.0.0","18.20.3","18.20.4","20.0.0","20.16.0","20.17.0","21.0.0","21.7.2","21.7.3","22.0.0","22.8.0","22.9.0"]'
description: 'The Node.js Versions (should be a JSON array)'
permissions:
contents: write
issues: write
id-token: write
jobs:
runner-start:
runs-on: ubuntu-latest
steps:
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
aws-region: us-west-2
role-to-assume: arn:aws:iam::800406105498:role/RafaelGSS-nodejs-bench-operations
- name: Checkout
uses: actions/checkout@v4
- name: Start Runner
uses: nodesource/[email protected]
with:
instances_id: '["i-065f0f848eb1615ae"]'
action: 'start'
aws_default_region: 'us-west-2'
add-property:
needs: runner-start
name: Running "add-property.mjs"
uses: ./.github/workflows/bench.yml
with:
bench-file: add-property.mjs
node-versions: ${{ inputs.node-versions }}
run-start-stop: false
array-append:
needs: add-property
name: Running "array-append.mjs"
uses: ./.github/workflows/bench.yml
with:
bench-file: array-append.mjs
node-versions: ${{ inputs.node-versions }}
run-start-stop: false
array-creation:
needs: array-append
name: Running "array-creation.mjs"
uses: ./.github/workflows/bench.yml
with:
bench-file: array-creation.mjs
node-versions: ${{ inputs.node-versions }}
run-start-stop: false
blob:
needs: array-creation
name: Running "blob.mjs"
uses: ./.github/workflows/bench.yml
with:
bench-file: blob.mjs
node-versions: ${{ inputs.node-versions }}
run-start-stop: false
compare-using-instanceof:
needs: blob
name: Running "compare-using-instanceof.mjs"
uses: ./.github/workflows/bench.yml
with:
bench-file: compare-using-instanceof.mjs
node-versions: ${{ inputs.node-versions }}
run-start-stop: false
crypto-verify:
needs: compare-using-instanceof
name: Running "crypto-verify.mjs"
uses: ./.github/workflows/bench.yml
with:
bench-file: crypto-verify.mjs
node-versions: ${{ inputs.node-versions }}
run-start-stop: false
date-format-iso:
needs: crypto-verify
name: Running "date-format-iso.mjs"
uses: ./.github/workflows/bench.yml
with:
bench-file: date-format-iso.mjs
node-versions: ${{ inputs.node-versions }}
run-start-stop: false
date-format:
needs: date-format-iso
name: Running "date-format.mjs"
uses: ./.github/workflows/bench.yml
with:
bench-file: date-format.mjs
node-versions: ${{ inputs.node-versions }}
run-start-stop: false
date-string-coersion:
needs: date-format
name: Running "date-string-coersion.mjs"
uses: ./.github/workflows/bench.yml
with:
bench-file: date-string-coersion.mjs
node-versions: ${{ inputs.node-versions }}
run-start-stop: false
deleting-properties:
needs: date-string-coersion
name: Running "deleting-properties.mjs"
uses: ./.github/workflows/bench.yml
with:
bench-file: deleting-properties.mjs
node-versions: ${{ inputs.node-versions }}
run-start-stop: false
error:
needs: deleting-properties
name: Running "error.mjs"
uses: ./.github/workflows/bench.yml
with:
bench-file: error.mjs
node-versions: ${{ inputs.node-versions }}
run-start-stop: false
function-return:
needs: error
name: Running "function-return.mjs"
uses: ./.github/workflows/bench.yml
with:
bench-file: function-return.mjs
node-versions: ${{ inputs.node-versions }}
run-start-stop: false
includes-vs-raw-comparison:
needs: function-return
name: Running "includes-vs-raw-comparison.mjs"
uses: ./.github/workflows/bench.yml
with:
bench-file: includes-vs-raw-comparison.mjs
node-versions: ${{ inputs.node-versions }}
run-start-stop: false
keys-vs-getownpropertynames:
needs: includes-vs-raw-comparison
name: Running "keys-vs-getownpropertynames.mjs"
uses: ./.github/workflows/bench.yml
with:
bench-file: keys-vs-getownpropertynames.mjs
node-versions: ${{ inputs.node-versions }}
run-start-stop: false
last-array-item:
needs: keys-vs-getownpropertynames
name: Running "last-array-item.mjs"
uses: ./.github/workflows/bench.yml
with:
bench-file: last-array-item.mjs
node-versions: ${{ inputs.node-versions }}
run-start-stop: false
math-floor-vs-tilde:
needs: last-array-item
name: Running "math-floor-vs-tilde.mjs"
uses: ./.github/workflows/bench.yml
with:
bench-file: math-floor-vs-tilde.mjs
node-versions: ${{ inputs.node-versions }}
run-start-stop: false
object-creation:
needs: math-floor-vs-tilde
name: Running "object-creation.mjs"
uses: ./.github/workflows/bench.yml
with:
bench-file: object-creation.mjs
node-versions: ${{ inputs.node-versions }}
run-start-stop: false
optional-chain-vs-and-operator:
needs: object-creation
name: Running "optional-chain-vs-and-operator.mjs"
uses: ./.github/workflows/bench.yml
with:
bench-file: optional-chain-vs-and-operator.mjs
node-versions: ${{ inputs.node-versions }}
run-start-stop: false
parse-int:
needs: optional-chain-vs-and-operator
name: Running "parse-int.mjs"
uses: ./.github/workflows/bench.yml
with:
bench-file: parse-int.mjs
node-versions: ${{ inputs.node-versions }}
run-start-stop: false
possible-undefined-function:
needs: parse-int
name: Running "possible-undefined-function.mjs"
uses: ./.github/workflows/bench.yml
with:
bench-file: possible-undefined-function.mjs
node-versions: ${{ inputs.node-versions }}
run-start-stop: false
private-property:
needs: possible-undefined-function
name: Running "private-property.mjs"
uses: ./.github/workflows/bench.yml
with:
bench-file: private-property.mjs
node-versions: ${{ inputs.node-versions }}
run-start-stop: false
property-access-transition:
needs: private-property
name: Running "property-access-transition.mjs"
uses: ./.github/workflows/bench.yml
with:
bench-file: property-access-transition.mjs
node-versions: ${{ inputs.node-versions }}
run-start-stop: false
property-getter-access:
needs: property-access-transition
name: Running "property-getter-access.mjs"
uses: ./.github/workflows/bench.yml
with:
bench-file: property-getter-access.mjs
node-versions: ${{ inputs.node-versions }}
run-start-stop: false
property-setter-access:
needs: property-getter-access
name: Running "property-setter-access.mjs"
uses: ./.github/workflows/bench.yml
with:
bench-file: property-setter-access.mjs
node-versions: ${{ inputs.node-versions }}
run-start-stop: false
replace-vs-replaceall-comparison:
needs: property-setter-access
name: Running "replace-vs-replaceall-comparison.mjs"
uses: ./.github/workflows/bench.yml
with:
bench-file: replace-vs-replaceall-comparison.mjs
node-versions: ${{ inputs.node-versions }}
run-start-stop: false
shallow-copy:
needs: replace-vs-replaceall-comparison
name: Running "shallow-copy.mjs"
uses: ./.github/workflows/bench.yml
with:
bench-file: shallow-copy.mjs
node-versions: ${{ inputs.node-versions }}
run-start-stop: false
sort-map:
needs: shallow-copy
name: Running "sort-map.mjs"
uses: ./.github/workflows/bench.yml
with:
bench-file: sort-map.mjs
node-versions: ${{ inputs.node-versions }}
run-start-stop: false
spread-vs-object-assign:
needs: sort-map
name: Running "spread-vs-object-assign.mjs"
uses: ./.github/workflows/bench.yml
with:
bench-file: spread-vs-object-assign.mjs
node-versions: ${{ inputs.node-versions }}
run-start-stop: false
stream-readable:
needs: spread-vs-object-assign
name: Running "stream-readable.mjs"
uses: ./.github/workflows/bench.yml
with:
bench-file: stream-readable.mjs
node-versions: ${{ inputs.node-versions }}
run-start-stop: false
stream-writable:
needs: stream-readable
name: Running "stream-writable.mjs"
uses: ./.github/workflows/bench.yml
with:
bench-file: stream-writable.mjs
node-versions: ${{ inputs.node-versions }}
run-start-stop: false
string-concat:
needs: stream-writable
name: Running "string-concat.mjs"
uses: ./.github/workflows/bench.yml
with:
bench-file: string-concat.mjs
node-versions: ${{ inputs.node-versions }}
run-start-stop: false
string-endsWith:
needs: string-concat
name: Running "string-endsWith.mjs"
uses: ./.github/workflows/bench.yml
with:
bench-file: string-endsWith.mjs
node-versions: ${{ inputs.node-versions }}
run-start-stop: false
string-searching:
needs: string-endsWith
name: Running "string-searching.mjs"
uses: ./.github/workflows/bench.yml
with:
bench-file: string-searching.mjs
node-versions: ${{ inputs.node-versions }}
run-start-stop: false
string-startsWith:
needs: string-searching
name: Running "string-startsWith.mjs"
uses: ./.github/workflows/bench.yml
with:
bench-file: string-startsWith.mjs
node-versions: ${{ inputs.node-versions }}
run-start-stop: false
super-vs-this:
needs: string-startsWith
name: Running "super-vs-this.mjs"
uses: ./.github/workflows/bench.yml
with:
bench-file: super-vs-this.mjs
node-versions: ${{ inputs.node-versions }}
run-start-stop: false
unix-time:
needs: super-vs-this
name: Running "unix-time.mjs"
uses: ./.github/workflows/bench.yml
with:
bench-file: unix-time.mjs
node-versions: ${{ inputs.node-versions }}
run-start-stop: false
## Stop Runner
runner-stop:
runs-on: ubuntu-latest
needs: [unix-time]
steps:
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
aws-region: us-west-2
role-to-assume: arn:aws:iam::800406105498:role/RafaelGSS-nodejs-bench-operations
- name: Checkout
uses: actions/checkout@v4
- name: Stop Runner
uses: nodesource/[email protected]
with:
instances_id: '["i-065f0f848eb1615ae"]'
action: 'stop'
aws_default_region: 'us-west-2'