File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : CodSpeed Benchmarks
2+
3+ on :
4+ push :
5+ branches : [main]
6+ tags : ["*"]
7+ paths :
8+ - src/**.py
9+ - bench/**
10+ - .github/workflows/codspeed.yml
11+ pull_request :
12+ paths :
13+ - src/**.py
14+ - bench/**
15+ - .github/workflows/codspeed.yml
16+ workflow_dispatch :
17+
18+ permissions :
19+ contents : read # required for actions/checkout
20+ id-token : write # required for OIDC authentication with CodSpeed
21+
22+ jobs :
23+ codspeed :
24+ name : Run CodSpeed benchmarks
25+ runs-on : ubuntu-latest
26+
27+ steps :
28+ - uses : actions/checkout@v6.0.0
29+ with :
30+ persist-credentials : false
31+
32+ - uses : actions/setup-python@v6.1.0
33+ with :
34+ python-version : " 3.14"
35+
36+ - uses : hynek/setup-cached-uv@757bedc3f972eb7227a1aa657651f15a8527c817 # v2.3.0
37+
38+ - name : Run CodSpeed benchmarks
39+ uses : CodSpeedHQ/action@346a2d8a8d9d38909abd0bc3d23f773110f076ad # v4.4.1
40+ with :
41+ mode : simulation
42+ run : uv run --with pytest-codspeed --with pytest-benchmark pytest --codspeed bench/
Original file line number Diff line number Diff line change @@ -21,6 +21,8 @@ Our backwards-compatibility policy can be found [here](https://github.com/python
2121 ([ #696 ] ( https://github.com/python-attrs/cattrs/pull/696 ) )
2222- Use the optional ` _value_ ` type hint to structure and unstructure enums if present.
2323 ([ ##699 ] ( https://github.com/python-attrs/cattrs/issues/699 ) )
24+ - _ cattrs_ now tracks performance using [ codspeed] ( https://codspeed.io/python-attrs/cattrs ) .
25+ ([ #703 ] ( https://github.com/python-attrs/cattrs/pull/703 ) )
2426
2527## 25.3.0 (2025-10-07)
2628
You can’t perform that action at this time.
0 commit comments