From bf30ff9082a4d22830ed9cf04ac354c06ae6e3aa Mon Sep 17 00:00:00 2001 From: Uriah Finkel Date: Wed, 19 Aug 2026 17:56:44 +0300 Subject: [PATCH] Add runtime dependency benchmark workflow --- .github/workflows/runtime-benchmark.yml | 90 +++++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 .github/workflows/runtime-benchmark.yml diff --git a/.github/workflows/runtime-benchmark.yml b/.github/workflows/runtime-benchmark.yml new file mode 100644 index 00000000..801277bf --- /dev/null +++ b/.github/workflows/runtime-benchmark.yml @@ -0,0 +1,90 @@ +name: Runtime benchmark + +on: + workflow_dispatch: + +jobs: + benchmark: + strategy: + fail-fast: false + matrix: + include: + - label: before + ref: 08253156d0ff883986f8326825ddd062feb005eb + - label: after + ref: main + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + ref: ${{ matrix.ref }} + + - uses: astral-sh/setup-uv@v5 + with: + python-version: '3.10' + enable-cache: false + + - name: Cold runtime install + shell: bash + run: | + rm -rf .venv + start=$(python -c 'import time; print(time.perf_counter())') + UV_NO_CACHE=1 uv sync --no-default-groups + end=$(python -c 'import time; print(time.perf_counter())') + python - <