Avatar for the pydantic user
pydantic
pydantic-core
BlogDocsChangelog

Fix model field serializer with computed field

#1349Merged
Comparing
nix010:fix-field-serializer-with-computed-field
(
cc80ddf
) with
main
(
0e6b377
)
CodSpeed Performance Gauge
0%
Untouched
155

Benchmarks

155 total
test_generator_rust
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+6%
20.1 µs19 µs
test_datetime
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+4%
27.5 µs26.3 µs
test_chain_two_functions
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+4%
28.5 µs27.4 µs
test_to_json_list_of_lists
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+3%
1.7 ms1.6 ms
test_validate_literal[python-few_small_strings]
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+2%
14.6 µs14.3 µs
test_int_error
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+2%
40.2 µs39.5 µs
test_date_format
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+2%
51.2 µs50.3 µs
test_dataclass_serialization_python
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+2%
23.3 µs22.9 µs
test_core_future_str
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDateTime
CodSpeed Performance Gauge
+2%
19.6 µs19.3 µs
test_small_class_core_model
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+2%
30.7 µs30.2 µs
test_validate_literal[python-few_mixed]
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+2%
16.8 µs16.5 µs
test_date_format_function_no_info
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+2%
50.6 µs49.8 µs
test_date_format_function
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+1%
51.8 µs51.1 µs
test_validate_literal[python-many_small_strings]
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
14.5 µs14.3 µs
test_enum_str_core
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
14.8 µs14.6 µs
test_model_instance
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
32.7 µs32.3 µs
test_core_python
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkUUID
CodSpeed Performance Gauge
+1%
29.7 µs29.3 µs
test_int_range
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
14.6 µs14.4 µs
test_validate_literal[python-few_str_enum]
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
15.1 µs14.9 µs
test_bytes_core
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
13.4 µs13.2 µs
test_small_class_core_dict
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
19 µs18.8 µs
test_core_raw
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDateTime
CodSpeed Performance Gauge
+1%
13.8 µs13.7 µs
test_chain_list
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
25.4 µs25.1 µs
test_validate_literal[python-few_ints]
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
14.4 µs14.3 µs
test_validate_literal[python-few_large_strings]
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
14.6 µs14.4 µs

Commits

Click on a commit to change the comparison range
Base
main
0e6b377
+0.24%
Fix model field serializer with computed field
d4f5c49
2 years ago
by nix010
-0.07%
Fix model field serializer with computed field
1839d3b
2 years ago
by nix010
-0.04%
add test
a5f9ac8
2 years ago
by nix010
+0.17%
refactor
7cb1588
2 years ago
by nix010
-0.02%
revert alias key mapping.
e86ed77
2 years ago
by nix010
+0.05%
revert alias key mapping.
a670087
2 years ago
by nix010
-0.31%
Merge branch 'main' into fix-field-serializer-with-computed-field
8590913
2 years ago
by sydney-runkle
+0.1%
Merge branch 'main' into fix-field-serializer-with-computed-field
e49d8f9
2 years ago
by nix010
+0.22%
refactor test
cc80ddf
2 years ago
by nix010
© 2026 CodSpeed Technology
Home Terms Privacy Docs