We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4624444 commit fc4ce56Copy full SHA for fc4ce56
.github/workflows/benchmarks.yml
@@ -1,4 +1,4 @@
1
-name: CodSpeed
+name: Performance
2
3
on:
4
push:
@@ -11,20 +11,24 @@ jobs:
11
benchmarks:
12
name: 📈 Benchmarks
13
runs-on: ubuntu-latest
14
+
15
steps:
16
- uses: actions/checkout@v4
- - uses: actions/setup-python@v5
17
18
+ - name: Set up Python 3.12
19
+ uses: actions/setup-python@v5
20
id: setup-python
21
with:
22
python-version: "3.12"
23
architecture: x64
24
- - run: pipx install poetry
-
- - run: poetry env use 3.12
25
- - run: poetry install --with test
+ - name: Install with poetry
26
+ run: |
27
+ pipx install poetry
28
+ poetry env use 3.12
29
+ poetry install --with test
30
- - name: Run benchmarks
31
+ - name: Run benchmarks with CodSpeed
32
uses: CodSpeedHQ/action@v3
33
34
token: ${{ secrets.CODSPEED_TOKEN }}
.github/workflows/lint.yml
@@ -4,6 +4,7 @@ on: [push, pull_request]
5
jobs:
6
lint:
7
+ name: 🧹 Lint
8
9
10
.github/workflows/publish.yml
@@ -7,6 +7,7 @@ on:
build:
+ name: 🏗️ Build
.github/workflows/test.yml
tests:
+ name: 🧪 Tests
strategy:
tests/benchmarks/test_visit.py
@@ -23,5 +23,5 @@ def test_visit_all_ast_nodes(benchmark, big_schema_sdl): # noqa: F811
def test_visit_all_ast_nodes_in_parallel(benchmark, big_schema_sdl): # noqa: F811
document_ast = parse(big_schema_sdl)
visitor = DummyVisitor()
- parallel_visitor = ParallelVisitor([visitor] * 20)
+ parallel_visitor = ParallelVisitor([visitor] * 25)
benchmark(lambda: visit(document_ast, parallel_visitor))
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments