Avatar for the tlambert03 user
tlambert03
ome-types
BlogDocsChangelog

feat: support pydantic2

#205Merged
Comparing
pydantic2
(
87d7c3d
) with
main
(
207fd02
)
CodSpeed Performance Gauge
+83%
Improvements
8
Untouched
1

Benchmarks

Improved

test_time_from_dict_to_ome[med]
tests/test_codspeed.py::test_time_from_dict_to_ome[med]
CodSpeed Performance Gauge
+83%
54.2 ms29.6 ms
test_time_from_dict_to_ome[small]
tests/test_codspeed.py::test_time_from_dict_to_ome[small]
CodSpeed Performance Gauge
+75%
4.3 ms2.5 ms
test_time_to_xml[large]
tests/test_codspeed.py::test_time_to_xml[large]
CodSpeed Performance Gauge
+73%
2.7 s1.6 s
test_time_from_xml[large]
tests/test_codspeed.py::test_time_from_xml[large]
CodSpeed Performance Gauge
+46%
1.9 s1.3 s
test_time_to_xml[med]
tests/test_codspeed.py::test_time_to_xml[med]
CodSpeed Performance Gauge
+34%
57 ms42.5 ms
test_time_from_xml[med]
tests/test_codspeed.py::test_time_from_xml[med]
CodSpeed Performance Gauge
+28%
93.7 ms73.4 ms
test_time_from_tiff
tests/test_codspeed.py::test_time_from_tiff
CodSpeed Performance Gauge
+18%
11.8 ms10 ms
test_time_to_xml[small]
tests/test_codspeed.py::test_time_to_xml[small]
CodSpeed Performance Gauge
+14%
13.3 ms11.6 ms

Passed

test_time_from_xml[small]
tests/test_codspeed.py::test_time_from_xml[small]
CodSpeed Performance Gauge
-4%
34.6 ms35.9 ms

Commits

Click on a commit to change the comparison range
Base
main
207fd02
+82.94%
fix mypy on autogen
83bde4a
2 years ago
by tlambert03
+0.15%
fix for pydantic v1
5071506
2 years ago
by tlambert03
-0.12%
cross-compatible mode
3269393
2 years ago
by tlambert03
+0.24%
cross-compat
50a2e72
2 years ago
by tlambert03
-0.81%
ci: add test
3d8fbec
2 years ago
by tlambert03
+0.4%
fix: fix typing
87d7c3d
2 years ago
by tlambert03
© 2025 CodSpeed Technology
Home Terms Privacy Docs