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_url_core
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
-5%
24.7 µs26.1 µs
test_complete_core_error
tests/benchmarks/test_complete_benchmark.py
CodSpeed Performance Gauge
-3%
1.7 ms1.8 ms
test_dict_of_ints_core_json
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
-3%
1.4 ms1.4 ms
test_core_json_fs
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkSimpleModel
CodSpeed Performance Gauge
-2%
105.2 µs107.5 µs
test_to_json_list_of_lists
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
-2%
2 ms2.1 ms
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_core_string_strict_wrong_str_e
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
-2%
39.8 µs40.5 µ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_int_range_json
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
-1%
15.7 µs15.9 µs
test_core_root_model
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
-1%
36.1 µs36.7 µs
test_core_python
tests/benchmarks/test_micro_benchmarks.py::TestModelLarge
CodSpeed Performance Gauge
-1%
125.9 µs127.7 µs
test_dont_raise_error
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
19.3 µs19 µs
test_complete_core_isinstance
tests/benchmarks/test_complete_benchmark.py
CodSpeed Performance Gauge
-1%
1.7 ms1.7 ms
test_validate_literal[json-many_ints]
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
-1%
15.6 µs15.8 µ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_future_str
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDateTime
CodSpeed Performance Gauge
-1%
18.7 µs19 µs
test_function_wrap_python
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
-1%
29 µs29.4 µs
test_core_dict
tests/benchmarks/test_serialization_micro.py::TestBenchmarkSimpleModel
CodSpeed Performance Gauge
+1%
74.5 µs73.7 µs
test_generator_rust
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
-1%
18.6 µs18.8 µs

Commits

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