Avatar for the pydantic user
pydantic
pydantic-core
BlogDocsChangelog

Add some notes to the documentation of some of the arguments of certain CoreSchema types

#391Merged
Comparing
schema-args-docs-tweak
(
8719839
) with
main
(
7dcf502
)
CodSpeed Performance Gauge
+1%
Untouched
85

Benchmarks

85 total
test_arguments
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+8%
30.5 µs28.3 µs
test_date_from_datetime
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDateX
CodSpeed Performance Gauge
+5%
21.6 µs20.5 µs
test_generator_python
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+3%
37 µs35.9 µs
test_chain_two_functions
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+3%
38.7 µs37.7 µs
test_list_of_nullable_core
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+2%
213.5 µs209.2 µs
test_datetime
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+2%
27.1 µs26.6 µs
test_positional_tuple
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+2%
24.1 µs23.8 µs
test_core_model_py
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+1%
25.6 µs25.3 µs
test_to_string_format
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+1%
22.7 µs22.4 µs
test_model_exclude_unset_false
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+1%
28.3 µs28 µs
test_int_error
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
48.1 µs47.6 µs
test_date_from_str
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDateX
CodSpeed Performance Gauge
+1%
15.1 µs14.9 µs
test_core_future_str
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDateTime
CodSpeed Performance Gauge
+1%
18.1 µs17.9 µs
test_date_format
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+1%
48.8 µs48.3 µs
test_core_python_not_fs
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkSimpleModel
CodSpeed Performance Gauge
+1%
105.1 µs104.1 µs
test_chain_list
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
31.7 µs31.4 µs
test_dont_raise_error
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
25.8 µs25.6 µs
test_core_str
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDateTime
CodSpeed Performance Gauge
+1%
17.6 µs17.5 µs
test_model_exclude_unset_true
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+1%
35.2 µs34.9 µs
test_dict_of_ints_core
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
2.4 ms2.3 ms
test_chain_nested_functions
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
37.6 µs37.3 µs
test_core_json_not_fs
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkSimpleModel
CodSpeed Performance Gauge
+1%
224.6 µs222.9 µs
test_raise_error_value_error
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
46.8 µs46.5 µs
test_smart_union_coerce_core
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkUnion
CodSpeed Performance Gauge
+1%
16.2 µs16 µs
test_core_json_fs
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkSimpleModel
CodSpeed Performance Gauge
+1%
227.7 µs226.1 µs

Commits

Click on a commit to change the comparison range
Base
main
7dcf502
+0.24%
Add some notes to the documentation of some of the arguments of certain CoreSchema types
a7ad8bc
3 years ago
-0.14%
Merge main
1e600b8
3 years ago
by dmontagu
-0.01%
Update documentation of some of CoreSchema function arguments
b933015
3 years ago
by dmontagu
+0.35%
Apply suggestions from code review
4bd2c27
3 years ago
by samuelcolvin
+0.06%
Apply suggestions from code review
8719839
3 years ago
by samuelcolvin
© 2026 CodSpeed Technology
Home Terms Privacy Docs