-
Notifications
You must be signed in to change notification settings - Fork 0
29 lines (26 loc) · 874 Bytes
/
Copy pathperformance.yml
File metadata and controls
29 lines (26 loc) · 874 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
name: Performance - Benchmark
on:
pull_request:
branches: [ main ]
push:
branches: [ main ]
workflow_dispatch:
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"
jobs:
benchmark:
runs-on: windows-latest
steps:
- uses: actions/checkout@v6
- name: Run Performance Benchmark
run: pwsh -NoProfile -File scripts/utils/metrics/benchmark-startup.ps1 -Iterations 3
- name: Update Performance Baseline
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
run: pwsh -NoProfile -File scripts/utils/metrics/benchmark-startup.ps1 -Iterations 5 -UpdateBaseline
- name: Upload benchmark results
uses: actions/upload-artifact@v7
with:
name: performance-results
path: |
scripts/data/startup-benchmark.csv
scripts/data/performance-baseline.json