Skip to content

Commit 2443935

Browse files
author
Antigravity Agent
committed
ci: add SIMD benchmark workflow
Runs on GitHub Actions (ubuntu-latest = x86_64 + AVX2) Measures Patch #5 performance gains φ² + 1/φ² = 3 | TRINITY
1 parent b11b047 commit 2443935

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/simd-bench.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: SIMD Benchmark
2+
on:
3+
workflow_dispatch:
4+
push:
5+
paths:
6+
- 'src/hslm/simd_bench.zig'
7+
- 'src/hslm/f16_utils.zig'
8+
- 'src/hslm/simd_config.zig'
9+
10+
jobs:
11+
benchmark:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v4
15+
- uses: ziglang/setup-zig@v1
16+
with:
17+
zig-version: 0.15.2
18+
19+
- name: Run SIMD Benchmarks
20+
run: |
21+
zig test src/hslm/simd_bench.zig 2>&1 | tee benchmark.txt
22+
23+
- name: Upload Results
24+
uses: actions/upload-artifact@v4
25+
with:
26+
name: benchmark-results
27+
path: benchmark.txt

0 commit comments

Comments
 (0)