Avatar for the pydantic user
pydantic
pydantic-core
BlogDocsChangelog

experiment with "ref" form of extra

#1786
Comparing
davidhewitt:dh/owned-extra
(
0fe0b40
) with
main
(
1cd5ee3
)
CodSpeed Performance Gauge
0%
Untouched
161

Benchmarks

161 total
test_function_wrap_python
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+6%
30.6 µs28.9 µs
test_function_wrap_json
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+5%
31.7 µs30.2 µs
test_smart_union_core
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkUnion
CodSpeed Performance Gauge
+2%
16.4 µs16.1 µs
test_decimal_from_string_pyd
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDecimal
CodSpeed Performance Gauge
+1%
33.4 µs32.9 µs
test_uuid_from_uuid_core
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkUUID
CodSpeed Performance Gauge
+1%
14.5 µs14.3 µs
test_dataclass_to_json
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+1%
40.5 µs40 µs
test_decimal_from_string_limit
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDecimal
CodSpeed Performance Gauge
+1%
19.1 µs18.8 µs
test_dataclass_serialization_python
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+1%
22.4 µs22.1 µs
test_uuid_from_uuid_pyd
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkUUID
CodSpeed Performance Gauge
+1%
15.3 µs15.2 µs
test_arguments
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
25.7 µs25.4 µs
test_strict_int_fails
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
27.1 µs26.8 µs
test_decimal_from_string_core
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDecimal
CodSpeed Performance Gauge
+1%
24.4 µs24.1 µs
test_positional_tuple
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
19.4 µs19.2 µs
test_raise_error_custom
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
38.6 µs38.3 µs
test_raise_error_value_error
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
37.2 µs36.9 µs
test_core_model_json_extra
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+1%
29.6 µs29.3 µs
test_complete_core_root_json
tests/benchmarks/test_complete_benchmark.py
CodSpeed Performance Gauge
+1%
432.1 µs428.4 µs
test_strict_union_core
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkUnion
CodSpeed Performance Gauge
+1%
17 µs16.8 µs
test_date_from_str
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDateX
CodSpeed Performance Gauge
+1%
16.8 µs16.7 µs
test_datetime_milliseconds
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+1%
25.2 µs25 µs
test_core_raw
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDateTime
CodSpeed Performance Gauge
+1%
14.8 µs14.7 µs
test_validate_literal[json-many_small_strings]
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
16.6 µs16.4 µs
test_datetime_seconds
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+1%
25 µs24.8 µs
test_field_function_validator
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
406.5 µs403.7 µs
test_definition_model_core
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
1.1 ms1.1 ms

Commits

Click on a commit to change the comparison range
Base
main
1cd5ee3
+0.21%
experiment with "ref" form of extra
4501c04
7 months ago
by davidhewitt
-0.17%
Merge branch 'main' into dh/owned-extra
0fe0b40
7 months ago
by davidhewitt
© 2026 CodSpeed Technology
Home Terms Privacy Docs