Avatar for the pydantic user
pydantic
pydantic
BlogDocsChangelog

Fix `PlainSerializer` usage with std type constructor

#9031Merged
Comparing
fix_std_type_plain_ser
(
0e95690
) with
main
(
1cfb22e
)
CodSpeed Performance Gauge
0%
Untouched
10

Benchmarks

10 total
test_north_star_json_dumps
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
+2%
35.6 ms35 ms
test_north_star_dump_python
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
15.9 ms15.8 ms
test_north_star_json_loads
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
18.2 ms18.2 ms
test_north_star_validate_json_strict
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
61.8 ms61.8 ms
test_fastapi_startup_perf
tests/benchmarks/test_fastapi_startup_generics.py
CodSpeed Performance Gauge
0%
671.9 ms671.6 ms
test_north_star_validate_python
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
36.7 ms36.7 ms
test_fastapi_startup_perf
tests/benchmarks/test_fastapi_startup_simple.py
CodSpeed Performance Gauge
0%
223.2 ms223.2 ms
test_north_star_dump_json
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
39.3 ms39.3 ms
test_north_star_validate_python_strict
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
23.4 ms23.4 ms
test_north_star_validate_json
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
-1%
62.9 ms63.2 ms

Commits

Click on a commit to change the comparison range
Base
main
1cfb22e
-0.05%
add test
ddb7292
2 years ago
by sydney-runkle
+0.21%
add period
0e95690
2 years ago
by sydney-runkle
© 2026 CodSpeed Technology
Home Terms Privacy Docs