pydantic
pydantic
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Use the globals of the function when evaluating the return type of serializers and computed_fields
#10929
Merged
Comparing
func-rt
(
821184f
) with
main
(
3cb6852
)
CodSpeed Performance Gauge
0%
Untouched
45
Ignored
2
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Untouched
Ignored
47 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_nested_model_validation[model_validate]
tests/benchmarks/test_model_validation.py
CodSpeed Performance Gauge
+1%
58.9 µs
58.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_import_basemodel
tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
0%
25.6 µs
25.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_import_field
tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
0%
25.5 µs
25.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_setattr
tests/benchmarks/test_attribute_access.py
CodSpeed Performance Gauge
0%
87.5 µs
87.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_nested_model_validation[__init__]
tests/benchmarks/test_model_validation.py
CodSpeed Performance Gauge
0%
61.7 µs
61.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_complex_model_validation[model_validate]
tests/benchmarks/test_model_validation.py
CodSpeed Performance Gauge
0%
59.6 µs
59.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_complex_model_validation[__init__]
tests/benchmarks/test_model_validation.py
CodSpeed Performance Gauge
0%
59.3 µs
59.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_recursive_discriminated_union_with_base_model
tests/benchmarks/test_model_schema_generation_recursive.py
CodSpeed Performance Gauge
0%
2 ms
2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_model_validators_serializers
tests/benchmarks/test_model_schema_generation.py
CodSpeed Performance Gauge
0%
1 ms
1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_simple_model_schema_generation
tests/benchmarks/test_model_schema_generation.py
CodSpeed Performance Gauge
0%
908.2 µs
906 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_simple_recursive_model_schema_generation
tests/benchmarks/test_model_schema_generation_recursive.py
CodSpeed Performance Gauge
0%
876.9 µs
875.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_simple_model_validation[model_validate]
tests/benchmarks/test_model_validation.py
CodSpeed Performance Gauge
0%
44.1 µs
44 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_list_of_models_validation[__init__]
tests/benchmarks/test_model_validation.py
CodSpeed Performance Gauge
0%
102 µs
101.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_simple_model_schema_lots_of_fields_generation
tests/benchmarks/test_model_schema_generation.py
CodSpeed Performance Gauge
0%
38.8 ms
38.7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_deeply_nested_recursive_model_schema_generation
tests/benchmarks/test_model_schema_generation_recursive.py
CodSpeed Performance Gauge
0%
1.5 ms
1.5 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_simple_model_serialization
tests/benchmarks/test_model_serialization.py
CodSpeed Performance Gauge
0%
34.9 µs
34.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_tagged_union_with_callable_discriminator_schema_generation
tests/benchmarks/test_model_schema_generation.py
CodSpeed Performance Gauge
0%
2 ms
2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_complex_model_schema_generation
tests/benchmarks/test_model_schema_generation.py
CodSpeed Performance Gauge
0%
2.6 ms
2.6 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_lots_of_models_with_lots_of_fields
tests/benchmarks/test_model_schema_generation.py
CodSpeed Performance Gauge
0%
3.3 s
3.3 s
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_schema_build
tests/benchmarks/test_discriminated_unions.py
CodSpeed Performance Gauge
0%
3.3 ms
3.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_model_json_serialization
tests/benchmarks/test_model_serialization.py
CodSpeed Performance Gauge
0%
66.6 µs
66.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_recursive_model_schema_generation
tests/benchmarks/test_model_schema_generation.py
CodSpeed Performance Gauge
0%
1.3 ms
1.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_north_star_dump_json
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
31.7 ms
31.6 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_nested_recursive_model_schema_generation
tests/benchmarks/test_model_schema_generation_recursive.py
CodSpeed Performance Gauge
0%
2.2 ms
2.2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_fastapi_startup_perf
tests/benchmarks/test_fastapi_startup_generics.py
CodSpeed Performance Gauge
0%
254.8 ms
254.6 ms
1
2
Commits
Click on a commit to change the comparison range
Base
main
3cb6852
-0.09%
Use the globals of the function when evaluating the return type of serializers and computed_fields
821184f
1 year ago
by Viicos
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs