pydantic
pydantic
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Fix `Decimal` serialization JSON schema pattern to accept scientific notation
#13090
Comparing
barry3406:fix/decimal-scientific-notation-schema
(
1a1c954
) with
main
(
a6bf50b
)
CodSpeed Performance Gauge
0%
Untouched
215
Ignored
2
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Untouched
Ignored
217 total
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
+4%
644.5 µs
621 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_field_function_validator
pydantic-core/tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+4%
343.3 µs
331.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_arguments
pydantic-core/tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+3%
24.4 µs
23.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dataclass_to_json
pydantic-core/tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+2%
40.8 µs
40.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_core_json_fs
pydantic-core/tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkSimpleModel
CodSpeed Performance Gauge
+1%
111.2 µs
109.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_json_any_list_int
pydantic-core/tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+1%
201.6 µs
198.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_set_of_ints_core_json_duplicates
pydantic-core/tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
438.5 µs
432.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_validate_literal[json-many_large_strings]
pydantic-core/tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
18.2 µs
18 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_json_direct_list_str
pydantic-core/tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+1%
184.9 µs
182.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_complete_core_json
pydantic-core/tests/benchmarks/test_complete_benchmark.py
CodSpeed Performance Gauge
+1%
413.5 µs
408.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_validate_literal[json-many_small_strings]
pydantic-core/tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
18 µs
17.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_json_any_list_str
pydantic-core/tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+1%
239.8 µs
237.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_generic_recursive_model_schema_generation
tests/benchmarks/test_model_schema_generation_recursive.py
CodSpeed Performance Gauge
+1%
693.1 µs
687.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_complete_core_root_json
pydantic-core/tests/benchmarks/test_complete_benchmark.py
CodSpeed Performance Gauge
+1%
416.9 µs
413.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_list_of_ints_core_json
pydantic-core/tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
782.3 µs
776.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_tagged_union_with_str_discriminator_schema_generation
tests/benchmarks/test_model_schema_generation.py
CodSpeed Performance Gauge
+1%
1.1 ms
1.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_frozenset_of_ints_core
pydantic-core/tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
246.5 µs
244.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_to_json_list_of_lists
pydantic-core/tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+1%
1.9 ms
1.9 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_chain_nested_functions
pydantic-core/tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
29.8 µs
29.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_list_of_strs_json_cached
pydantic-core/tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
0%
323.8 µs
322.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_python_json_list_none
pydantic-core/tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
0%
133.7 µs
133 µs
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%
624.4 µs
621.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_json_direct_list_int
pydantic-core/tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
0%
149.7 µs
149.1 µs
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%
28.4 ms
28.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_core_python
pydantic-core/tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkUUID
CodSpeed Performance Gauge
0%
27.6 µs
27.5 µs
1
2
3
4
5
...
9
Commits
Click on a commit to change the comparison range
Base
main
a6bf50b
-0.29%
Fix `Decimal` serialization JSON schema pattern to accept scientific notation
1a1c954
25 days ago
by barry3406
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs