Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 11 additions & 4 deletions .github/workflows/codspeed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,15 @@ jobs:
- name: Install dependencies
run: uv sync --group dev

- name: Install CodSpeed
run: curl --proto '=https' --tlsv1.2 -LsSf https://github.com/CodSpeedHQ/codspeed/releases/download/v4.16.2-alpha.1/codspeed-runner-installer.sh | sh

- name: Run benchmarks
uses: CodSpeedHQ/action@3194d9a39c4d46684cb44bf7207fc56626aad8fd # v4.15.1
with:
mode: simulation
run: uv run pytest tests/benchmarks/ --codspeed
run: codspeed run --mode simulation -- uv run pytest tests/benchmarks/ --codspeed

# - name: Run benchmarks
# uses: CodSpeedHQ/action@3194d9a39c4d46684cb44bf7207fc56626aad8fd # v4.15.1
# with:
# # runner-version: v4.16.2-alpha.1
# mode: simulation
# run: uv run pytest tests/benchmarks/ --codspeed
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package = false
default-groups = ["dev", "docs", "bench"]
required-version = ">=0.8.6"
exclude-newer = "7 days"
exclude-newer-package = { urllib3 = "2026-05-09T00:00:00Z", zensical = "2026-05-11T00:00:00Z" }
exclude-newer-package = { urllib3 = "2026-05-09T00:00:00Z", zensical = "2026-05-11T00:00:00Z", pytest-codspeed = "2026-05-15T00:00:00Z" }

[tool.uv.workspace]
members = ["src/httpx2", "src/httpcore2"]
Expand Down Expand Up @@ -34,7 +34,7 @@ dev = [
# Packaging
"build==1.3.0",
"twine==6.1.0",
"pytest-codspeed>=4.5.0",
"pytest-codspeed>=5.0.2",
]
docs = ["zensical>=0.0.41", "mkdocstrings[python]>=0.27"]
bench = [
Expand Down
56 changes: 31 additions & 25 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.