pydantic
pydantic-core
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
adding more string benchmarks
#412
Merged
Comparing
string-benchmarks
(
c118e11
) with
main
(
786f4c0
)
CodSpeed Performance Gauge
0%
Untouched
85
New
6
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
New
Untouched
91 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_core_string_lax_wrong
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
N/A
N/A
31.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_core_string_strict_wrong
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
N/A
N/A
31.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_isinstance_string_lax_false
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
N/A
N/A
12.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_isinstance_string_strict_false
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
N/A
N/A
11.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_isinstance_string_strict_true
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
N/A
N/A
11.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_isinstance_string_lax_true
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
N/A
N/A
11.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_smart_union_coerce_core
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkUnion
CodSpeed Performance Gauge
+5%
15.9 µs
15.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_core_json_fs
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkSimpleModel
CodSpeed Performance Gauge
+3%
228 µs
221.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_core_json_not_fs
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkSimpleModel
CodSpeed Performance Gauge
+3%
224.5 µs
219 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_list_of_ints_core_json
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+2%
1.1 ms
1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_complete_core_json
tests/benchmarks/test_complete_benchmark.py
CodSpeed Performance Gauge
+1%
726 µs
717.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_core_model_py
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+1%
25.4 µs
25.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_complete_core_strict
tests/benchmarks/test_complete_benchmark.py
CodSpeed Performance Gauge
+1%
404.4 µs
401.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_with_default
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
21.5 µs
21.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_core_python_not_fs
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkSimpleModel
CodSpeed Performance Gauge
+1%
104.5 µs
104 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_core_model_json
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
0%
24.3 µs
24.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dont_raise_error
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
0%
25.6 µs
25.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_model_exclude_unset_false
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
0%
28.1 µs
28 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_core_dict_filter
tests/benchmarks/test_serialization_micro.py::TestBenchmarkSimpleModel
CodSpeed Performance Gauge
0%
85.6 µs
85.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_model_exclude_unset_true
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
0%
34.8 µs
34.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_to_string_format
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
0%
22.4 µs
22.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_bytes_core
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
0%
11.3 µs
11.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_frozenset_of_ints_core
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
0%
417.5 µs
416.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_core_string_strict
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
0%
11.3 µs
11.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_core_string_lax
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
0%
11.3 µs
11.3 µs
1
2
...
4
Commits
Click on a commit to change the comparison range
Base
main
786f4c0
+0.04%
adding more string benchmarks
c118e11
3 years ago
by samuelcolvin
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs