mirror of
https://github.com/luau-lang/luau.git
synced 2025-05-04 10:33:46 +01:00
Debug WIP: Updated benchmark step name
This commit is contained in:
parent
b8e4aefb6e
commit
ddec632caa
2 changed files with 4 additions and 29 deletions
18
.github/workflows/benchmark-cachegrind.yml
vendored
18
.github/workflows/benchmark-cachegrind.yml
vendored
|
@ -56,9 +56,6 @@ jobs:
|
||||||
- name: Run ${{ matrix.bench.title }} (Warm Cachegrind)
|
- name: Run ${{ matrix.bench.title }} (Warm Cachegrind)
|
||||||
run: sudo bash ./scripts/run-with-cachegrind.sh python ./bench/bench.py "${{ matrix.bench.cachegrindTitle }}" ${{ matrix.bench.cachegrindIterCount }} | tee -a ${{ matrix.bench.script }}-output.txt
|
run: sudo bash ./scripts/run-with-cachegrind.sh python ./bench/bench.py "${{ matrix.bench.cachegrindTitle }}" ${{ matrix.bench.cachegrindIterCount }} | tee -a ${{ matrix.bench.script }}-output.txt
|
||||||
|
|
||||||
- name: Create gh-pages directory
|
|
||||||
run: mkdir gh-pages
|
|
||||||
|
|
||||||
- name: Switch to & checkout benchmark results (gh-pages) repo
|
- name: Switch to & checkout benchmark results (gh-pages) repo
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
|
@ -67,17 +64,6 @@ jobs:
|
||||||
token: "${{ secrets.BENCH_GITHUB_TOKEN }}"
|
token: "${{ secrets.BENCH_GITHUB_TOKEN }}"
|
||||||
path: "./gh-pages"
|
path: "./gh-pages"
|
||||||
|
|
||||||
- name: Navigate into gh-pages directory
|
|
||||||
run: cd gh-pages
|
|
||||||
|
|
||||||
- name: Checkout benchmark results (gh-pages)
|
|
||||||
run: |
|
|
||||||
git status
|
|
||||||
git fetch --no-tags --depth=1 origin main
|
|
||||||
git checkout main
|
|
||||||
git pull
|
|
||||||
git status
|
|
||||||
|
|
||||||
#Run `github-action-benchmark` action
|
#Run `github-action-benchmark` action
|
||||||
- name: Store ${{ matrix.bench.title }} result
|
- name: Store ${{ matrix.bench.title }} result
|
||||||
uses: Roblox/rhysd-github-action-benchmark@v-luau
|
uses: Roblox/rhysd-github-action-benchmark@v-luau
|
||||||
|
@ -85,10 +71,10 @@ jobs:
|
||||||
name: ${{ matrix.bench.title }}
|
name: ${{ matrix.bench.title }}
|
||||||
tool: "benchmarkluau"
|
tool: "benchmarkluau"
|
||||||
# This should come from Luau repo
|
# This should come from Luau repo
|
||||||
output-file-path: ../${{ matrix.bench.script }}-output.txt
|
output-file-path: ./${{ matrix.bench.script }}-output.txt
|
||||||
|
|
||||||
# This should map to thebenchmark results repo
|
# This should map to thebenchmark results repo
|
||||||
external-data-json-path: ../gh-pages/dev/bench/data.json
|
external-data-json-path: ./gh-pages/dev/bench/data.json
|
||||||
alert-threshold: 150%
|
alert-threshold: 150%
|
||||||
fail-threshold: 200%
|
fail-threshold: 200%
|
||||||
fail-on-alert: true
|
fail-on-alert: true
|
||||||
|
|
15
.github/workflows/benchmark.yml
vendored
15
.github/workflows/benchmark.yml
vendored
|
@ -48,9 +48,6 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
python bench/bench.py | tee ../${{ matrix.bench.script }}-output.txt
|
python bench/bench.py | tee ../${{ matrix.bench.script }}-output.txt
|
||||||
|
|
||||||
- name: Create gh-pages directory
|
|
||||||
run: mkdir gh-pages
|
|
||||||
|
|
||||||
- name: Switch to & checkout benchmark results (gh-pages) repo
|
- name: Switch to & checkout benchmark results (gh-pages) repo
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
|
@ -58,14 +55,6 @@ jobs:
|
||||||
ref: "main"
|
ref: "main"
|
||||||
path: "./gh-pages"
|
path: "./gh-pages"
|
||||||
|
|
||||||
- name: Checkout benchmark results (gh-pages)
|
|
||||||
run: |
|
|
||||||
git status
|
|
||||||
git fetch --no-tags --depth=1 origin main
|
|
||||||
git checkout main
|
|
||||||
git pull
|
|
||||||
git status
|
|
||||||
|
|
||||||
#Run `github-action-benchmark` action
|
#Run `github-action-benchmark` action
|
||||||
- name: Store ${{ matrix.bench.title }} result
|
- name: Store ${{ matrix.bench.title }} result
|
||||||
uses: Roblox/rhysd-github-action-benchmark@v-luau
|
uses: Roblox/rhysd-github-action-benchmark@v-luau
|
||||||
|
@ -73,10 +62,10 @@ jobs:
|
||||||
name: ${{ matrix.bench.title }}
|
name: ${{ matrix.bench.title }}
|
||||||
tool: "benchmarkluau"
|
tool: "benchmarkluau"
|
||||||
# This should come from Luau repo
|
# This should come from Luau repo
|
||||||
output-file-path: ../${{ matrix.bench.script }}-output.txt
|
output-file-path: ./${{ matrix.bench.script }}-output.txt
|
||||||
|
|
||||||
# This should map to thebenchmark results repo
|
# This should map to thebenchmark results repo
|
||||||
external-data-json-path: ../gh-pages/dev/bench/data.json
|
external-data-json-path: ./gh-pages/dev/bench/data.json
|
||||||
alert-threshold: 150%
|
alert-threshold: 150%
|
||||||
fail-threshold: 200%
|
fail-threshold: 200%
|
||||||
fail-on-alert: true
|
fail-on-alert: true
|
||||||
|
|
Loading…
Add table
Reference in a new issue