Avatar for the pydantic user
pydantic
pydantic-core
BlogDocsChangelog

Move pydantic-core types into a stubs only package

#445Closed
Comparing
core-stubs
(
09cf2b3
) with
main
(
5ca4db7
)
CodSpeed Performance Gauge
0%
Untouched
93

Benchmarks

93 total
test_positional_tuple
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+7%
24.4 µs22.7 µs
test_date_from_datetime
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDateX
CodSpeed Performance Gauge
+4%
21.2 µs20.4 µs
test_variable_tuple
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+3%
24.8 µs24 µs
test_int_error
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
48.2 µs47.8 µs
test_core_python_fs
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkSimpleModel
CodSpeed Performance Gauge
+1%
107.1 µs106.4 µs
test_core_python
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDateTime
CodSpeed Performance Gauge
+1%
24.6 µs24.4 µs
test_smart_union_coerce_core
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkUnion
CodSpeed Performance Gauge
+1%
15.3 µs15.2 µs
test_list_of_ints_core_json
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
1 ms1 ms
test_isinstance_string_strict_true
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
11.5 µs11.4 µs
test_core_str
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDateTime
CodSpeed Performance Gauge
+1%
17.3 µs17.3 µs
test_date_from_date
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDateX
CodSpeed Performance Gauge
+1%
11.7 µs11.6 µs
test_core_future_str
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDateTime
CodSpeed Performance Gauge
0%
17.7 µs17.6 µs
test_tuple_many_positional
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
0%
18.8 µs18.7 µs
test_definition_model_core
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
0%
434.9 µs432.9 µs
test_model_exclude_unset_true
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
0%
34.7 µs34.5 µs
test_datetime
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
0%
26.8 µs26.7 µs
test_arguments
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
0%
28.2 µs28.1 µs
test_core_json
tests/benchmarks/test_serialization_micro.py::TestBenchmarkSimpleModel
CodSpeed Performance Gauge
0%
101.8 µs101.3 µs
test_to_string_direct
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
0%
17.9 µs17.9 µs
test_isinstance_json
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
0%
20.1 µs20.1 µs
test_model_core_json
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDateTime
CodSpeed Performance Gauge
0%
31.9 µs31.8 µs
test_date_format
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
0%
48.7 µs48.6 µs
test_isinstance_string_lax_true
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
0%
11.4 µs11.4 µs
test_many_models_core_dict
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
0%
1.2 ms1.2 ms
test_isinstance_string_strict_false
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
0%
11.9 µs11.9 µs

Commits

Click on a commit to change the comparison range
Base
main
5ca4db7
-0.16%
Move pydantic-core types into a stubs only package
ce71c8f
3 years ago
by adriangb
+0.08%
Add readme, use hatchling
2542cad
3 years ago
by adriangb
-0.05%
publish
1932d4e
3 years ago
by adriangb
+0.21%
publish
09cf2b3
3 years ago
by adriangb
© 2026 CodSpeed Technology
Home Terms Privacy Docs