pydantic
pydantic
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Support intuitive equality for urls
#10798
Merged
Comparing
url-equality-fix
(
82e4afc
) with
main
(
dad96c5
)
CodSpeed Performance Gauge
0%
Improvements
0
Regressions
0
Untouched
43
New
0
Dropped
0
Ignored
2
Benchmarks
Passed
test_simple_model_validation[__init__]
tests/benchmarks/test_model_validation.py::test_simple_model_validation[__init__]
CodSpeed Performance Gauge
+1%
43.6 µs
42.9 µs
test_north_star_json_dumps
tests/benchmarks/test_north_star.py::test_north_star_json_dumps
CodSpeed Performance Gauge
+1%
24.1 ms
23.7 ms
test_north_star_validate_json_strict
tests/benchmarks/test_north_star.py::test_north_star_validate_json_strict
CodSpeed Performance Gauge
+1%
57.1 ms
56.5 ms
test_nested_model_validation[__init__]
tests/benchmarks/test_model_validation.py::test_nested_model_validation[__init__]
CodSpeed Performance Gauge
+1%
61.6 µs
61.2 µs
test_list_of_models_validation[__init__]
tests/benchmarks/test_model_validation.py::test_list_of_models_validation[__init__]
CodSpeed Performance Gauge
0%
101.5 µs
101.1 µs
test_complex_model_validation[__init__]
tests/benchmarks/test_model_validation.py::test_complex_model_validation[__init__]
CodSpeed Performance Gauge
0%
59.2 µs
59 µs
test_list_of_models_serialization
tests/benchmarks/test_model_serialization.py::test_list_of_models_serialization
CodSpeed Performance Gauge
0%
63 µs
62.8 µs
test_construct_dataclass_schema
tests/benchmarks/test_model_schema_generation.py::test_construct_dataclass_schema
CodSpeed Performance Gauge
0%
2.2 ms
2.2 ms
test_nested_model_validation[model_validate]
tests/benchmarks/test_model_validation.py::test_nested_model_validation[model_validate]
CodSpeed Performance Gauge
0%
58.2 µs
58.1 µs
test_recursive_model_schema_generation
tests/benchmarks/test_model_schema_generation.py::test_recursive_model_schema_generation
CodSpeed Performance Gauge
0%
1.4 ms
1.4 ms
test_simple_model_serialization
tests/benchmarks/test_model_serialization.py::test_simple_model_serialization
CodSpeed Performance Gauge
0%
34.8 µs
34.8 µs
test_deeply_nested_recursive_model_schema_generation
tests/benchmarks/test_model_schema_generation_recursive.py::test_deeply_nested_recursive_model_schema_generation
CodSpeed Performance Gauge
0%
1.7 ms
1.7 ms
test_efficiency_with_highly_nested_examples
tests/benchmarks/test_discriminated_unions.py::test_efficiency_with_highly_nested_examples
CodSpeed Performance Gauge
0%
954.6 µs
952.5 µs
test_simple_model_schema_generation
tests/benchmarks/test_model_schema_generation.py::test_simple_model_schema_generation
CodSpeed Performance Gauge
0%
1 ms
1 ms
test_tagged_union_with_str_discriminator_schema_generation
tests/benchmarks/test_model_schema_generation.py::test_tagged_union_with_str_discriminator_schema_generation
CodSpeed Performance Gauge
0%
2 ms
2 ms
test_model_validators_serializers
tests/benchmarks/test_model_schema_generation.py::test_model_validators_serializers
CodSpeed Performance Gauge
0%
1.1 ms
1.1 ms
test_complex_model_validation[model_validate]
tests/benchmarks/test_model_validation.py::test_complex_model_validation[model_validate]
CodSpeed Performance Gauge
0%
59.3 µs
59.2 µs
test_complex_model_serialization
tests/benchmarks/test_model_serialization.py::test_complex_model_serialization
CodSpeed Performance Gauge
0%
62.6 µs
62.6 µs
test_nested_recursive_model_schema_generation
tests/benchmarks/test_model_schema_generation_recursive.py::test_nested_recursive_model_schema_generation
CodSpeed Performance Gauge
0%
2.4 ms
2.4 ms
test_north_star_json_loads
tests/benchmarks/test_north_star.py::test_north_star_json_loads
CodSpeed Performance Gauge
0%
21.9 ms
21.8 ms
test_schema_build
tests/benchmarks/test_discriminated_unions.py::test_schema_build
CodSpeed Performance Gauge
0%
3.5 ms
3.5 ms
test_north_star_dump_json
tests/benchmarks/test_north_star.py::test_north_star_dump_json
CodSpeed Performance Gauge
0%
31.5 ms
31.5 ms
test_complex_model_schema_generation
tests/benchmarks/test_model_schema_generation.py::test_complex_model_schema_generation
CodSpeed Performance Gauge
0%
2.9 ms
2.9 ms
test_fastapi_startup_perf
tests/benchmarks/test_fastapi_startup_generics.py::test_fastapi_startup_perf
CodSpeed Performance Gauge
0%
262.2 ms
262.1 ms
test_nested_model_schema_generation
tests/benchmarks/test_model_schema_generation.py::test_nested_model_schema_generation
CodSpeed Performance Gauge
0%
1.4 ms
1.4 ms
test_simple_model_schema_lots_of_fields_generation
tests/benchmarks/test_model_schema_generation.py::test_simple_model_schema_lots_of_fields_generation
CodSpeed Performance Gauge
0%
42.8 ms
42.8 ms
test_north_star_validate_json
tests/benchmarks/test_north_star.py::test_north_star_validate_json
CodSpeed Performance Gauge
0%
56.7 ms
56.7 ms
test_import_field
tests/benchmarks/test_imports.py::test_import_field
CodSpeed Performance Gauge
0%
82.9 µs
82.9 µs
test_lots_of_models_with_lots_of_fields
tests/benchmarks/test_model_schema_generation.py::test_lots_of_models_with_lots_of_fields
CodSpeed Performance Gauge
0%
3.7 s
3.7 s
test_north_star_validate_python
tests/benchmarks/test_north_star.py::test_north_star_validate_python
CodSpeed Performance Gauge
0%
48.2 ms
48.2 ms
test_tagged_union_with_callable_discriminator_schema_generation
tests/benchmarks/test_model_schema_generation.py::test_tagged_union_with_callable_discriminator_schema_generation
CodSpeed Performance Gauge
0%
2.1 ms
2.1 ms
test_north_star_validate_python_strict
tests/benchmarks/test_north_star.py::test_north_star_validate_python_strict
CodSpeed Performance Gauge
0%
30.2 ms
30.3 ms
test_nested_recursive_generic_model_schema_generation
tests/benchmarks/test_model_schema_generation_recursive.py::test_nested_recursive_generic_model_schema_generation
CodSpeed Performance Gauge
0%
2.4 ms
2.4 ms
test_fastapi_startup_perf
tests/benchmarks/test_fastapi_startup_simple.py::test_fastapi_startup_perf
CodSpeed Performance Gauge
0%
32.5 ms
32.5 ms
test_north_star_dump_python
tests/benchmarks/test_north_star.py::test_north_star_dump_python
CodSpeed Performance Gauge
0%
17 ms
17.1 ms
test_recursive_discriminated_union_with_base_model
tests/benchmarks/test_model_schema_generation_recursive.py::test_recursive_discriminated_union_with_base_model
CodSpeed Performance Gauge
0%
2.1 ms
2.1 ms
test_isinstance_basemodel
tests/benchmarks/test_isinstance.py::test_isinstance_basemodel
CodSpeed Performance Gauge
0%
26.7 ms
26.8 ms
test_simple_recursive_model_schema_generation
tests/benchmarks/test_model_schema_generation_recursive.py::test_simple_recursive_model_schema_generation
CodSpeed Performance Gauge
0%
1 ms
1 ms
test_import_basemodel
tests/benchmarks/test_imports.py::test_import_basemodel
CodSpeed Performance Gauge
0%
83.7 µs
83.9 µs
test_generic_recursive_model_schema_generation
tests/benchmarks/test_model_schema_generation_recursive.py::test_generic_recursive_model_schema_generation
CodSpeed Performance Gauge
0%
1.2 ms
1.2 ms
test_model_json_serialization
tests/benchmarks/test_model_serialization.py::test_model_json_serialization
CodSpeed Performance Gauge
0%
66.1 µs
66.3 µs
test_simple_model_validation[model_validate]
tests/benchmarks/test_model_validation.py::test_simple_model_validation[model_validate]
CodSpeed Performance Gauge
-1%
43.7 µs
43.9 µs
test_list_of_models_validation[model_validate]
tests/benchmarks/test_model_validation.py::test_list_of_models_validation[model_validate]
CodSpeed Performance Gauge
-1%
99.7 µs
100.3 µs
Ignored
test_field_validators_serializers
Ignored
tests/benchmarks/test_model_schema_generation.py::test_field_validators_serializers
CodSpeed Performance Gauge
-7%
2.6 ms
2.8 ms
test_nested_model_serialization
Ignored
tests/benchmarks/test_model_serialization.py::test_nested_model_serialization
CodSpeed Performance Gauge
+1%
47 µs
46.6 µs
Commits
Click on a commit to change the comparison range
Base
main
dad96c5
0%
equality for urls
269a95a
10 months ago
by sydney-runkle
0%
Update networks.py Co-authored-by: Victorien <65306057+Viicos@users.noreply.github.com>
5991cab
10 months ago
by sydney-runkle
0%
Update networks.py Co-authored-by: Victorien <65306057+Viicos@users.noreply.github.com>
82e4afc
10 months ago
by sydney-runkle
© 2025 CodSpeed Technology
Home
Terms
Privacy
Docs