Skip to content

Commit e091123

Browse files
committed
fix: actions workflow & config
- remove unnecessarry nested results dir in charts - add static files to charts dir - change date header - pull in dynamic date from constants - update vit config to output to charts dir - update package count script to output to charts dir - update process results script to output to charts dir - update benchmark script to output to charts dir
1 parent e4ef861 commit e091123

25 files changed

+568
-258
lines changed

.github/workflows/benchmark.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
uses: actions/upload-artifact@v4
6363
with:
6464
name: results-${{ matrix.fixture }}-${{ matrix.variation }}
65-
path: ./results/${{ matrix.fixture }}/${{ matrix.variation }}/
65+
path: ./${{ matrix.fixture }}/${{ matrix.variation }}/
6666
retention-days: 7
6767
process:
6868
name: 'Process Results'
@@ -78,11 +78,13 @@ jobs:
7878
- name: Download Results
7979
uses: actions/download-artifact@v4
8080
with:
81-
path: results
82-
pattern: results-*
81+
path: ./
8382
- name: Process Results
8483
run: |
8584
bash ./scripts/process-results.sh
85+
- name: Build Charts View
86+
run: |
87+
vlr build
8688
- name: Upload Processed Results
8789
uses: actions/upload-artifact@v4
8890
with:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ package-manager: X.XXs (stddev: X.XXs)
135135
136136
### Generated Results
137137
138-
Results are organized by date in the `chart/results/YYYY-MM-DD/` directory:
138+
Results are organized by date in the `charts/YYYY-MM-DD/` directory:
139139
- `<fixture>-<variation>.json`: Cold cache installation results
140140
- `<fixture>-<variation>-package-count.json`: The count of packages installed for each package manager for a given fixture and variation
141141
- `index.html`: Interactive visualization
Binary file not shown.
Binary file not shown.
Binary file not shown.

charts/assets/index-BILFLdu-.js

Lines changed: 256 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

charts/assets/index-HL0qe4HQ.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

charts/favicon/apple-touch-icon.png

2.46 KB
Loading

charts/favicon/favicon-96x96.png

912 Bytes
Loading

charts/favicon/favicon.ico

14.7 KB
Binary file not shown.

0 commit comments

Comments
 (0)