summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/benchmark.yml11
-rw-r--r--tools/benchmark/.gitignore (renamed from tests/mdl/.gitignore)0
-rw-r--r--tools/benchmark/compile.py (renamed from tests/mdl/compile.py)0
3 files changed, 4 insertions, 7 deletions
diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml
index 441334055..8a829d5a1 100644
--- a/.github/workflows/benchmark.yml
+++ b/.github/workflows/benchmark.yml
@@ -1,4 +1,4 @@
-name: Benchmark
+name: MDL Benchmark
on:
push:
@@ -36,12 +36,9 @@ jobs:
run: |
cmake --preset default --fresh -DSLANG_SLANG_LLVM_FLAVOR=USE_SYSTEM_LLVM -DCMAKE_COMPILE_WARNING_AS_ERROR=false
cmake --workflow --preset release
- - name: Setup
- run: |
- cd tests/mdl
- pip install prettytable argparse
- name: Run benchmark
run: |
- cd tests/mdl
+ cd tools/benchmark
+ pip install prettytable argparse
Copy-Item -Path C:\slang-benchmarks -Destination . -Recurse
- python compile.py --samples 16 --target dxil --ci \ No newline at end of file
+ python compile.py --samples 16 --target dxil --ci
diff --git a/tests/mdl/.gitignore b/tools/benchmark/.gitignore
index 1719095d1..1719095d1 100644
--- a/tests/mdl/.gitignore
+++ b/tools/benchmark/.gitignore
diff --git a/tests/mdl/compile.py b/tools/benchmark/compile.py
index 0d995636d..0d995636d 100644
--- a/tests/mdl/compile.py
+++ b/tools/benchmark/compile.py