pydantic
pydantic
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Remove unnecessary logic for definitions schema gen with discriminated unions
#8951
Merged
Comparing
test-alternative-fix
(
0717cb4
) with
main
(
a25882c
)
CodSpeed Performance Gauge
+1%
Improvement
1
Untouched
9
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Improvement
Untouched
10 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_fastapi_startup_perf
tests/benchmarks/test_fastapi_startup_generics.py
CodSpeed Performance Gauge
+6%
713.9 ms
672.5 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_north_star_validate_json_strict
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
+4%
64.3 ms
61.9 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_fastapi_startup_perf
tests/benchmarks/test_fastapi_startup_simple.py
CodSpeed Performance Gauge
+2%
225.8 ms
222.4 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_north_star_validate_python_strict
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
23.4 ms
23.4 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_north_star_dump_json
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
39.4 ms
39.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_north_star_dump_python
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
15.9 ms
15.8 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_north_star_validate_json
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
63.4 ms
63.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_north_star_json_dumps
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
38.1 ms
38 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_north_star_validate_python
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
36.7 ms
36.6 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_north_star_json_loads
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
18.2 ms
18.2 ms
Commits
Click on a commit to change the comparison range
Base
main
a25882c
+0.27%
example of alternative approach
3fbbece
2 years ago
by sydney-runkle
+0.42%
Merge branch 'main' into test-alternative-fix
5fe1954
2 years ago
by sydney-runkle
+0.59%
fix failing test
0717cb4
2 years ago
by sydney-runkle
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs