pydantic
pydantic
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Fix RootModel constructor typing in the mypy plugin
#13091
Closed
Comparing
lawrence3699:fix/rootmodel-mypy-constructor
(
f2fc3fb
) with
main
(
a6bf50b
)
CodSpeed Performance Gauge
0%
Untouched
215
Ignored
2
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Untouched
Ignored
217 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_simple_recursive_model_schema_generation
tests/benchmarks/test_model_schema_generation_recursive.py
CodSpeed Performance Gauge
+4%
644.5 µs
619.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_field_function_validator
pydantic-core/tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+4%
343.3 µs
331 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_arguments
pydantic-core/tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+3%
24.4 µs
23.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_tagged_union_with_str_discriminator_schema_generation
tests/benchmarks/test_model_schema_generation.py
CodSpeed Performance Gauge
+3%
1.1 ms
1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dataclass_to_json
pydantic-core/tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+3%
40.8 µs
39.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_json_any_list_int
pydantic-core/tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+2%
201.6 µs
198.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_json_direct_list_str
pydantic-core/tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+2%
184.9 µs
182.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_core_json_fs
pydantic-core/tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkSimpleModel
CodSpeed Performance Gauge
+1%
111.2 µs
109.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_date_from_date
pydantic-core/tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDateX
CodSpeed Performance Gauge
+1%
15.7 µs
15.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_set_of_ints_core_json_duplicates
pydantic-core/tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
438.5 µs
433.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_json_any_list_str
pydantic-core/tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+1%
239.8 µs
237 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_complete_core_json
pydantic-core/tests/benchmarks/test_complete_benchmark.py
CodSpeed Performance Gauge
+1%
413.5 µs
408.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_validate_literal[json-many_small_strings]
pydantic-core/tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
18 µs
17.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_validate_literal[json-many_large_strings]
pydantic-core/tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
18.2 µs
18 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_smart_union_core
pydantic-core/tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkUnion
CodSpeed Performance Gauge
+1%
17.7 µs
17.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_strict_union_core
pydantic-core/tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkUnion
CodSpeed Performance Gauge
+1%
18.1 µs
18 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_complete_core_root_json
pydantic-core/tests/benchmarks/test_complete_benchmark.py
CodSpeed Performance Gauge
+1%
416.9 µs
413 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_validate_literal[json-many_ints]
pydantic-core/tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
17.5 µs
17.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_chain_nested_functions
pydantic-core/tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
29.8 µs
29.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_core_python
pydantic-core/tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkUUID
CodSpeed Performance Gauge
+1%
27.6 µs
27.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_date_format_function
pydantic-core/tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+1%
53.7 µs
53.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_isinstance_string_strict_true
pydantic-core/tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
15.5 µs
15.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_core_future
pydantic-core/tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDateX
CodSpeed Performance Gauge
+1%
15.9 µs
15.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_json_direct_list_int
pydantic-core/tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+1%
149.7 µs
148.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_north_star_dump_json
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
+1%
28.4 ms
28.2 ms
1
2
3
4
5
...
9
Commits
Click on a commit to change the comparison range
Base
main
a6bf50b
+0.01%
Fix RootModel mypy constructor fallback
f2fc3fb
24 days ago
by lawrence3699
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs