mirror of
https://github.com/luau-lang/luau.git
synced 2025-05-04 10:33:46 +01:00
Refactoring: Abstracted benchmark results into matrix & switched to luau-lang results repo for results
This commit is contained in:
parent
a93dc3f2a2
commit
0170493a1f
2 changed files with 6 additions and 4 deletions
5
.github/workflows/benchmark-cachegrind.yml
vendored
5
.github/workflows/benchmark-cachegrind.yml
vendored
|
@ -26,6 +26,7 @@ jobs:
|
||||||
cachegrindTitle: "Performance",
|
cachegrindTitle: "Performance",
|
||||||
cachegrindIterCount: 20,
|
cachegrindIterCount: 20,
|
||||||
}
|
}
|
||||||
|
benchResultsRepo: [{ name: "luau-lang/benchmark-data", branch: "main" }]
|
||||||
|
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
|
@ -59,8 +60,8 @@ jobs:
|
||||||
- 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:
|
||||||
repository: AllanJeremy/luau-benchmark-results
|
repository: ${{ matrix.benchmarkResultsRepo.name }}
|
||||||
ref: "main"
|
ref: ${{ matrix.benchmarkResultsRepo.branch }}
|
||||||
token: "${{ secrets.BENCH_GITHUB_TOKEN }}"
|
token: "${{ secrets.BENCH_GITHUB_TOKEN }}"
|
||||||
path: "./gh-pages"
|
path: "./gh-pages"
|
||||||
|
|
||||||
|
|
5
.github/workflows/benchmark.yml
vendored
5
.github/workflows/benchmark.yml
vendored
|
@ -26,6 +26,7 @@ jobs:
|
||||||
cachegrindTitle: "Performance",
|
cachegrindTitle: "Performance",
|
||||||
cachegrindIterCount: 20,
|
cachegrindIterCount: 20,
|
||||||
}
|
}
|
||||||
|
benchResultsRepo: [{ name: "luau-lang/benchmark-data", branch: "main" }]
|
||||||
|
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
|
@ -51,8 +52,8 @@ jobs:
|
||||||
- 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:
|
||||||
repository: AllanJeremy/luau-benchmark-results
|
repository: ${{ matrix.benchmarkResultsRepo.name }}
|
||||||
ref: "main"
|
ref: ${{ matrix.benchmarkResultsRepo.branch }}
|
||||||
path: "./gh-pages"
|
path: "./gh-pages"
|
||||||
|
|
||||||
#Run `github-action-benchmark` action
|
#Run `github-action-benchmark` action
|
||||||
|
|
Loading…
Add table
Reference in a new issue