CI: remove non-functional Rust compiler benchmark workflow (#2948)
`forget_napi` doesn't exist and given we're not currently working on the Rust compiler, I'm not sure we need to keep this around until we know that we do want to invest into this area again.
Jan Kassens committed
May 13, 2024 at 17:04 UTC
4cf7ee23fba90d958d608c0645236aa54b296fd8
1 file changed
-58
.github/workflows/compiler-rust-benchmark.yml
deleted
-58
@@ -1,58 +0,0 @@
1
-# Runs the parser benchmark on every push to main, and compares it with the previous run
2
-name: Compiler Benchmark (Rust)
3
-
4
-on:
5
- push:
6
- branches: ["main"]
7
- paths:
8
- - .github/workflows/**
9
- - compiler/crates/**
10
- - compiler/Cargo.*
11
- - compiler/*.toml
12
-
13
-env:
14
- CARGO_TERM_COLOR: always
15
- RUSTFLAGS: -Dwarnings
16
-
17
-defaults:
18
- run:
19
- working-directory: compiler
20
-
21
-jobs:
22
- bench:
23
- name: Parser Benchmark
24
- runs-on: ubuntu-latest
25
- steps:
26
- - uses: actions/checkout@v4
27
- - uses: Swatinem/rust-cache@v2
28
- - run: yarn install --frozen-lockfile
29
- working-directory: crates/forget_napi
30
- - run: mkdir dist -p
31
- working-directory: crates/forget_napi
32
- - run: yarn build
33
- working-directory: crates/forget_napi
34
- - run: yarn install --frozen-lockfile
35
- working-directory: bench/parser-benchmark
36
- - name: Run benchmark
37
- run: node index.js --ci --sampleSize=3 | tee results.json
38
- working-directory: bench/parser-benchmark
39
- # Download previous benchmark result from cache (if exists)
40
- - name: Download previous benchmark data
41
- uses: actions/cache@v4
42
- with:
43
- path: ./cache
44
- key: ${{ runner.os }}-benchmark
45
- - name: Store benchmark result
46
- uses: benchmark-action/github-action-benchmark@v1
47
- with:
48
- name: "${{ runner.os }} Benchmark"
49
- tool: customBiggerIsBetter
50
- output-file-path: bench/parser-benchmark/results.json
51
- # Where the previous data file is stored
52
- external-data-json-path: ./cache/parser-benchmark-results.json
53
- # Workflow will fail when an alert happens
54
- fail-on-alert: true
55
- # Enable Job Summary for PRs
56
- summary-always: true
57
- # GitHub API token to make a commit comment
58
- github-token: ${{ secrets.GITHUB_TOKEN }}