We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d7ccbe0 commit 745d903Copy full SHA for 745d903
.github/workflows/next_swc_benchmark.yml
@@ -0,0 +1,24 @@
1
+name: next_swc Benchmark
2
+on:
3
+ workflow_dispatch: {}
4
+jobs:
5
+ benchmark:
6
+ runs-on: ubuntu-latest
7
+ strategy:
8
+ matrix:
9
+ pages: [0, 1, 12]
10
+ steps:
11
+ - uses: actions/checkout
12
+ - name: Install heaptrack
13
+ run: apt install heaptrack
14
+ - name: Build binary
15
+ run: cargo build --profile release-with-debug --manifest-path $GITHUB_WORKSPACE/packages/next-swc/crates/next-build-test/Cargo.toml
16
+ - name: Run benchmark
17
+ run: bash bench.sh 29de71d77fd3db93c33cc3886c64a32ad889278f ${{ matrix.pages }}
18
+ - name: Print results
19
+ run: tail -n 7 result.log
20
+ - name: Upload reports
21
+ uses: actions/upload-artifact@v4
22
+ with:
23
+ name: resport
24
+ path: result.log
0 commit comments