pydantic
pydantic-core
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Move pydantic-core types into a stubs only package
#445
Closed
Comparing
core-stubs
(
09cf2b3
) with
main
(
5ca4db7
)
CodSpeed Performance Gauge
0%
Untouched
93
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Untouched
93 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_positional_tuple
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+7%
24.4 µs
22.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_date_from_datetime
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDateX
CodSpeed Performance Gauge
+4%
21.2 µs
20.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_variable_tuple
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+3%
24.8 µs
24 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_int_error
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
48.2 µs
47.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_core_python_fs
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkSimpleModel
CodSpeed Performance Gauge
+1%
107.1 µs
106.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_core_python
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDateTime
CodSpeed Performance Gauge
+1%
24.6 µs
24.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_smart_union_coerce_core
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkUnion
CodSpeed Performance Gauge
+1%
15.3 µs
15.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_list_of_ints_core_json
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
1 ms
1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_isinstance_string_strict_true
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
11.5 µs
11.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_core_str
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDateTime
CodSpeed Performance Gauge
+1%
17.3 µs
17.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_date_from_date
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDateX
CodSpeed Performance Gauge
+1%
11.7 µs
11.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_core_future_str
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDateTime
CodSpeed Performance Gauge
0%
17.7 µs
17.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_tuple_many_positional
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
0%
18.8 µs
18.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_definition_model_core
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
0%
434.9 µs
432.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_model_exclude_unset_true
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
0%
34.7 µs
34.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_datetime
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
0%
26.8 µs
26.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_arguments
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
0%
28.2 µs
28.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_core_json
tests/benchmarks/test_serialization_micro.py::TestBenchmarkSimpleModel
CodSpeed Performance Gauge
0%
101.8 µs
101.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_to_string_direct
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
0%
17.9 µs
17.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_isinstance_json
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
0%
20.1 µs
20.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_model_core_json
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDateTime
CodSpeed Performance Gauge
0%
31.9 µs
31.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_date_format
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
0%
48.7 µs
48.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_isinstance_string_lax_true
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
0%
11.4 µs
11.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_many_models_core_dict
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
0%
1.2 ms
1.2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_isinstance_string_strict_false
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
0%
11.9 µs
11.9 µs
1
2
3
4
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