Avatar for the pydantic user
pydantic
pydantic-core
BlogDocsChangelog

PGO build for MacOS M1

#1063Merged
Comparing
macos-m1-pgo
(
23e32c6
) with
main
(
d80c454
)
CodSpeed Performance Gauge
+25%
Improvement
1
Regression
1
Untouched
138

Benchmarks

140 total
test_decimal_from_string_core
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDecimal
CodSpeed Performance Gauge
-11%
37.4 µs41.8 µs
test_dont_raise_error
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+25%
24.1 µs19.3 µs
test_decimal_from_string_limit
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDecimal
CodSpeed Performance Gauge
+5%
17.6 µs16.7 µs
test_dict_of_ints_core
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+3%
1.1 ms1 ms
test_date_from_datetime
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDateX
CodSpeed Performance Gauge
+2%
27.2 µs26.6 µs
test_dict_of_ints_core_json
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+2%
2.9 ms2.8 ms
test_model_core_json
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDateTime
CodSpeed Performance Gauge
+2%
38.4 µs37.6 µs
test_date_from_str
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDateX
CodSpeed Performance Gauge
+2%
20.9 µs20.5 µs
test_model_exclude_unset_false
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+2%
32.8 µs32.2 µs
test_model_exclude_unset_true
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+2%
39 µs38.3 µs
test_core_json
tests/benchmarks/test_serialization_micro.py::TestBenchmarkSimpleModel
CodSpeed Performance Gauge
+1%
100.6 µs99.2 µs
test_core_dict_filter
tests/benchmarks/test_serialization_micro.py::TestBenchmarkSimpleModel
CodSpeed Performance Gauge
+1%
87.1 µs85.9 µs
test_tagged_union_int_keys_json
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
33.5 µs33.1 µs
test_small_class_core_dict
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
22.8 µs22.5 µs
test_tuple_many_variable
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
23.8 µs23.5 µs
test_core_model_json_extra
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+1%
34.2 µs33.8 µs
test_core_model_json
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+1%
30 µs29.6 µs
test_core_model_py_extra
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+1%
33.6 µs33.2 µs
test_core_model_py
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+1%
30.2 µs29.9 µs
test_model_instance
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
32.6 µs32.3 µs
test_core_python
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkUUID
CodSpeed Performance Gauge
+1%
30.3 µs30.1 µs
test_datetime
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+1%
34.7 µs34.4 µs
test_uuid
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+1%
40.5 µs40.1 µs
test_chain_function
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
23.5 µs23.3 µs
test_tagged_union_int_keys_python
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
33.9 µs33.7 µs

Commits

Click on a commit to change the comparison range
Base
main
d80c454
-0.24%
Try PGO build for MacOS m1
7f82c13
2 years ago
by samuelcolvin
+25.73%
bump
d8bdf3d
2 years ago
by samuelcolvin
-25.51%
tweak PGO file upload
8474fb0
2 years ago
by samuelcolvin
+0.22%
matrix split by python version
d4e8ee7
2 years ago
by samuelcolvin
+24.31%
always setup python using 3.11 on macos
b99769b
2 years ago
by samuelcolvin
+1.36%
exclude macos python 3.7-3.9
625177f
2 years ago
by samuelcolvin
-25.67%
exclude macos python 3.7-3.9, take 2
deb2a6d
2 years ago
by samuelcolvin
+24.91%
uprev
dd1f7eb
2 years ago
by samuelcolvin
-0.56%
Remove old macos aarch64 builds which are now PGO optimized
23e32c6
2 years ago
by davidhewitt
© 2026 CodSpeed Technology
Home Terms Privacy Docs