Skip to content

Fix .claude/settings.json #1069

Fix .claude/settings.json

Fix .claude/settings.json #1069

Workflow file for this run

name: Benchmark
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
benchmark:
name: Performance regression check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- name: Install uv
uses: astral-sh/setup-uv@v10.0.1
- name: Install Python
run: uv python install
- name: Install the project
run: uv sync --locked --group test --no-cache
- name: Run benchmark
run: uv run -- pytest etc/bench.py --benchmark-json output.json
- name: Download previous benchmark data
uses: actions/cache@v6.1.0
with:
path: ./cache
key: ${{ runner.os }}-benchmark
- name: Store benchmark result
uses: rhysd/github-action-benchmark@v1
with:
tool: 'pytest'
output-file-path: output.json
external-data-json-path: ./cache/benchmark-data.json
fail-on-alert: true
# GitHub API token to make a commit comment
github-token: ${{ secrets.GITHUB_TOKEN }}
# Enable alert commit comment
comment-on-alert: true
alert-threshold: "150%"