mirror of
https://github.com/luau-lang/luau.git
synced 2024-11-15 14:25:44 +08:00
Add bench-codegen benchmark (#713)
We will now run luau with --codegen during benchmark runs and collect the data into separate JSON. Note that we don't yet have the historical data for these, which will be backfilled later.
This commit is contained in:
parent
c6a2d75193
commit
49d6bc30ad
18
.github/workflows/benchmark.yml
vendored
18
.github/workflows/benchmark.yml
vendored
@ -32,6 +32,12 @@ jobs:
|
||||
CXX=g++ make config=profile luau
|
||||
cp luau luau-gcc
|
||||
|
||||
- name: Build Luau (codegen)
|
||||
run: |
|
||||
make config=profile clean
|
||||
CXX=clang++ make config=profile native=1 luau
|
||||
cp luau luau-codegen
|
||||
|
||||
- name: Build Luau (clang)
|
||||
run: |
|
||||
make config=profile clean
|
||||
@ -45,6 +51,10 @@ jobs:
|
||||
run: |
|
||||
python bench/bench.py --callgrind --vm "./luau -O2" | tee -a bench-output.txt
|
||||
|
||||
- name: Run benchmark (bench-codegen)
|
||||
run: |
|
||||
python bench/bench.py --callgrind --vm "./luau-codegen --codegen -O2" | tee -a bench-codegen-output.txt
|
||||
|
||||
- name: Run benchmark (analyze)
|
||||
run: |
|
||||
filter() {
|
||||
@ -83,6 +93,14 @@ jobs:
|
||||
output-file-path: ./bench-output.txt
|
||||
external-data-json-path: ./gh-pages/bench.json
|
||||
|
||||
- name: Store results (bench-codegen)
|
||||
uses: Roblox/rhysd-github-action-benchmark@v-luau
|
||||
with:
|
||||
name: callgrind codegen
|
||||
tool: "benchmarkluau"
|
||||
output-file-path: ./bench-codegen-output.txt
|
||||
external-data-json-path: ./gh-pages/bench-codegen.json
|
||||
|
||||
- name: Store results (bench-gcc)
|
||||
uses: Roblox/rhysd-github-action-benchmark@v-luau
|
||||
with:
|
||||
|
Loading…
Reference in New Issue
Block a user