Skip to content

Commit d064820

Browse files
committed
refactor: wip
1 parent 98a60e8 commit d064820

File tree

11 files changed

+127
-360
lines changed

11 files changed

+127
-360
lines changed

.github/workflows/assign-pr-author.yml

Lines changed: 0 additions & 22 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 0 additions & 69 deletions
This file was deleted.

.github/workflows/code-coverage.yml

Lines changed: 0 additions & 47 deletions
This file was deleted.

.github/workflows/code-pushup-fork.yml

Lines changed: 0 additions & 38 deletions
This file was deleted.

.github/workflows/code-pushup.yml

Lines changed: 0 additions & 40 deletions
This file was deleted.
Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,102 @@
1+
name: ESLint Perf
2+
3+
on:
4+
push:
5+
branches: [main, research/eslint-muntithreading]
6+
pull_request:
7+
branches: [main, research/eslint-muntithreading]
8+
workflow_dispatch:
9+
inputs:
10+
concurrency_levels:
11+
description: 'Concurrency levels to test (comma-separated)'
12+
required: false
13+
default: 'off,auto,1,2,3,4,5,6'
14+
15+
env:
16+
NX_NON_NATIVE_HASHER: true
17+
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}
18+
# Disable Nx optimizations for clean perf measurement
19+
NX_TUI: false
20+
NX_TASKS_RUNNER_DYNAMIC_OUTPUT: false
21+
NX_SKIP_LOG_GROUPING: true
22+
NX_GENERATE_QUIET: true
23+
NX_PERF_LOGGING: false
24+
NX_SKIP_NX_CACHE: true
25+
NX_SKIP_REMOTE_CACHE: true
26+
NX_DAEMON: false
27+
NX_PARALLEL: 1
28+
NX_BATCH_MODE: false
29+
NX_VERBOSE_LOGGING: false
30+
# Show timing for 15 slowest files
31+
TIMING: 15
32+
33+
eslint-concurrency-benchmark:
34+
runs-on: ${{ matrix.os }}
35+
name: ESLint Perf (${{ matrix.os }} - ${{ matrix.concurrency }})
36+
strategy:
37+
matrix:
38+
os: [ubuntu-latest, windows-latest, macos-latest]
39+
concurrency: ['off', 'auto', '1', '2', '3', '4']
40+
steps:
41+
- name: Checkout repository
42+
uses: actions/checkout@v4
43+
with:
44+
fetch-depth: 0
45+
- name: Set up Node.js
46+
uses: actions/setup-node@v4
47+
with:
48+
node-version-file: .nvmrc
49+
cache: npm
50+
- name: Set base and head for Nx affected commands
51+
uses: nrwl/nx-set-shas@v4
52+
- name: Install dependencies
53+
run: npm ci
54+
- name: ESLint test (${{ matrix.concurrency }})
55+
run: npx nx run-many -t lint --exclude models-transformers --stats --concurrency ${{ matrix.concurrency }}
56+
57+
eslint-v8570-benchmark:
58+
runs-on: ${{ matrix.os }}
59+
name: ESLint v8570 (${{ matrix.os }})
60+
strategy:
61+
matrix:
62+
os: [ubuntu-latest, windows-latest, macos-latest]
63+
steps:
64+
- name: Checkout repository
65+
uses: actions/checkout@v4
66+
with:
67+
fetch-depth: 0
68+
- name: Set up Node.js
69+
uses: actions/setup-node@v4
70+
with:
71+
node-version-file: .nvmrc
72+
cache: npm
73+
- name: Set base and head for Nx affected commands
74+
uses: nrwl/nx-set-shas@v4
75+
- name: Install dependencies
76+
run: npm ci
77+
- name: ESLint v8570 test
78+
run: npx nx run-many -t lint-8570 --exclude models-transformers --stats
79+
80+
eslint-v9340-benchmark:
81+
runs-on: ${{ matrix.os }}
82+
name: ESLint v9340 (${{ matrix.os }} - ${{ matrix.concurrency }})
83+
strategy:
84+
matrix:
85+
os: [ubuntu-latest, windows-latest, macos-latest]
86+
concurrency: ['off', 'auto', '1', '2', '3', '4']
87+
steps:
88+
- name: Checkout repository
89+
uses: actions/checkout@v4
90+
with:
91+
fetch-depth: 0
92+
- name: Set up Node.js
93+
uses: actions/setup-node@v4
94+
with:
95+
node-version-file: .nvmrc
96+
cache: npm
97+
- name: Set base and head for Nx affected commands
98+
uses: nrwl/nx-set-shas@v4
99+
- name: Install dependencies
100+
run: npm ci
101+
- name: ESLint v9340 test (${{ matrix.concurrency }})
102+
run: npx nx run-many -t lint-9340 --exclude models-transformers --stats --concurrency ${{ matrix.concurrency }}

.github/workflows/pr-commitlint.yml

Lines changed: 0 additions & 17 deletions
This file was deleted.

.github/workflows/pr-labeler.yml

Lines changed: 0 additions & 21 deletions
This file was deleted.

0 commit comments

Comments
 (0)