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
Regressions
0
Untouched
1
New
0
Dropped
0
Ignored
0

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 ms
29.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 ms
2.5 ms
test_time_to_xml[large]
tests/test_codspeed.py::test_time_to_xml[large]
CodSpeed Performance Gauge
+73%
2.7 s
1.6 s
test_time_from_xml[large]
tests/test_codspeed.py::test_time_from_xml[large]
CodSpeed Performance Gauge
+46%
1.9 s
1.3 s
test_time_to_xml[med]
tests/test_codspeed.py::test_time_to_xml[med]
CodSpeed Performance Gauge
+34%
57 ms
42.5 ms
test_time_from_xml[med]
tests/test_codspeed.py::test_time_from_xml[med]
CodSpeed Performance Gauge
+28%
93.7 ms
73.4 ms
test_time_from_tiff
tests/test_codspeed.py::test_time_from_tiff
CodSpeed Performance Gauge
+18%
11.8 ms
10 ms
test_time_to_xml[small]
tests/test_codspeed.py::test_time_to_xml[small]
CodSpeed Performance Gauge
+14%
13.3 ms
11.6 ms

Passed

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

Commits

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