mirror of
https://github.com/luau-lang/luau.git
synced 2025-05-04 10:33:46 +01:00
Final test
This commit is contained in:
parent
fa1a927887
commit
3b4c86fce9
1 changed files with 6 additions and 11 deletions
17
.github/workflows/benchmark.yml
vendored
17
.github/workflows/benchmark.yml
vendored
|
@ -14,22 +14,17 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
callgrind:
|
callgrind:
|
||||||
name: callgrind
|
name: ubuntu-callgrind
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
|
os: [ubuntu-latest]
|
||||||
bench:
|
bench:
|
||||||
- {
|
- { title: "Luau Benchmarks (Callgrind)" }
|
||||||
script: "run-benchmarks",
|
|
||||||
timeout: 12,
|
|
||||||
title: "Luau Benchmarks (Callgrind)",
|
|
||||||
cachegrindTitle: "Performance",
|
|
||||||
cachegrindIterCount: 20,
|
|
||||||
}
|
|
||||||
benchResultsRepo:
|
benchResultsRepo:
|
||||||
- { name: "luau-lang/benchmark-data", branch: "main" }
|
- { name: "luau-lang/benchmark-data", branch: "main" }
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Luau repository
|
- name: Checkout Luau repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
@ -43,7 +38,7 @@ jobs:
|
||||||
|
|
||||||
- name: Run benchmark
|
- name: Run benchmark
|
||||||
run: |
|
run: |
|
||||||
python bench/bench.py --callgrind | tee ${{ matrix.bench.script }}-output.txt
|
python bench/bench.py --callgrind | tee output.txt
|
||||||
|
|
||||||
- name: Checkout Benchmark Results repository
|
- name: Checkout Benchmark Results repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
@ -58,7 +53,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: ${{ matrix.bench.title }}
|
name: ${{ matrix.bench.title }}
|
||||||
tool: "benchmarkluau"
|
tool: "benchmarkluau"
|
||||||
output-file-path: ./${{ matrix.bench.script }}-output.txt
|
output-file-path: ./output.txt
|
||||||
external-data-json-path: ./gh-pages/bench/data.json
|
external-data-json-path: ./gh-pages/bench/data.json
|
||||||
github-token: ${{ secrets.BENCH_GITHUB_TOKEN }}
|
github-token: ${{ secrets.BENCH_GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue