Avatar for the pydantic user
pydantic
pydantic-core
BlogDocsChangelog

Populate `field_name` in `InternalValidator`

#1834Merged
Comparing
wrap-validator-field-name
(
48b1d54
) with
main
(
1e1c962
)
CodSpeed Performance Gauge
+13%
Untouched
163

Benchmarks

163 total
test_set_of_ints_core_json_duplicates
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+13%
434.5 µs383.8 µs
test_set_of_ints_core_json
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+7%
878.9 µs821.8 µs
test_list_of_strs_json_uncached
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+6%
406.8 µs383.5 µs
test_small_class_core_model
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+2%
27.1 µs26.5 µs
test_many_models_core_dict
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+2%
1,020 µs999.9 µs
test_arguments
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+2%
24.5 µs24.1 µs
test_list_of_strs_json_cached
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+2%
316.5 µs311.4 µs
test_dont_raise_error
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
19.3 µs19 µs
test_chain_two_functions
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
28.5 µs28.2 µs
test_core_python_fs
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkSimpleModel
CodSpeed Performance Gauge
+1%
70 µs69.1 µs
test_core_dict
tests/benchmarks/test_serialization_micro.py::TestBenchmarkSimpleModel
CodSpeed Performance Gauge
+1%
74.5 µs73.7 µs
test_core_raw
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkUUID
CodSpeed Performance Gauge
+1%
13.9 µs13.8 µs
test_dont_raise_error_no_info
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
17.1 µs16.9 µs
test_validate_literal[python-few_ints]
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
14.5 µs14.4 µs
test_tuple_many_positional
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
17.8 µs17.6 µs
test_dataclass_serialization_python
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+1%
21.9 µs21.7 µs
test_uuid_from_string_pyd
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkUUID
CodSpeed Performance Gauge
+1%
47.8 µs47.3 µs
test_core_future_str
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDateX
CodSpeed Performance Gauge
+1%
16.3 µs16.1 µs
test_model_exclude_unset_true
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+1%
35.7 µs35.4 µs
test_validate_literal[python-many_large_strings]
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
15 µs14.9 µs
test_validate_literal[python-many_ints]
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
14.6 µs14.5 µs
test_validate_literal[python-few_small_strings]
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
14.9 µs14.8 µs
test_validate_literal[python-few_large_strings]
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
15 µs14.9 µs
test_core_model_py
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+1%
26.6 µs26.4 µs
test_strict_union_core
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkUnion
CodSpeed Performance Gauge
+1%
16.6 µs16.4 µs

Commits

Click on a commit to change the comparison range
Base
main
1e1c962
+13.2%
Populate `field_name` in `InternalValidator`
48b1d54
6 months ago
by Viicos
© 2026 CodSpeed Technology
Home Terms Privacy Docs