BlogDocs

Fix bug with force_default_for_optional and improve errors(#136)

Merged
Comparing
fix-bugs
(
116ce17
) with
master
(
d043e06
)
-12%
IMPROVEMENTS
0
REGRESSIONS
1
UNTOUCHED
36
NEW
0
DROPPED
0
IGNORED
0

Benchmarks

Failed

test_dump_uuidRegression
bench/test_encoders.py::test_dump_uuid
-12%
4.4 ms
5 ms

Passed

test_dump_optional
bench/test_encoders.py::test_dump_optional
+6%
25.1 µs
23.7 µs
test_load_list_simple_types
bench/test_encoders.py::test_load_list_simple_types
+5%
43.1 ms
40.9 ms
test_load_github_issue[mashumaro]
bench/compare/test_github_issue.py::test_load_github_issue[mashumaro]
+2%
205.8 µs
201.6 µs
test_load_small_list_simple_types
bench/test_encoders.py::test_load_small_list_simple_types
+2%
1.5 ms
1.4 ms
test_dump_github_issue[mashumaro]
bench/compare/test_github_issue.py::test_dump_github_issue[mashumaro]
+1%
107.7 µs
106.6 µs
test_load_dataclass
bench/test_encoders.py::test_load_dataclass
+1%
1.9 ms
1.9 ms
test_dump_dict_dataclass_value
bench/test_encoders.py::test_dump_dict_dataclass_value
0%
680.6 µs
678 µs
test_dump
bench/test_full.py::test_dump
0%
73.5 ms
73.5 ms
test_dump_union
bench/test_encoders.py::test_dump_union
0%
918.5 µs
918.3 µs
test_load_dict_simple_types
bench/test_encoders.py::test_load_dict_simple_types
0%
198.5 ms
198.4 ms
test_load_simple_types
bench/test_encoders.py::test_load_simple_types
0%
915 µs
915 µs
test_dump_tuple_simple_types
bench/test_encoders.py::test_dump_tuple_simple_types
0%
1.2 ms
1.2 ms
test_dump_recursive
bench/test_encoders.py::test_dump_recursive
0%
2.3 ms
2.3 ms
test_load_time
bench/test_encoders.py::test_load_time
0%
1.1 ms
1.1 ms
test_dump_simple_types
bench/test_encoders.py::test_dump_simple_types
0%
889.2 µs
889.2 µs
test_dump_small_list_simple_types
bench/test_encoders.py::test_dump_small_list_simple_types
0%
1.3 ms
1.3 ms
test_dump_decimal
bench/test_encoders.py::test_dump_decimal
0%
1.2 ms
1.2 ms
test_dump_list_simple_types
bench/test_encoders.py::test_dump_list_simple_types
0%
22.7 ms
22.7 ms
test_load_datetime
bench/test_encoders.py::test_load_datetime
0%
1.2 ms
1.2 ms
test_dump_enum
bench/test_encoders.py::test_dump_enum
0%
1.7 ms
1.7 ms
test_dump_dataclass
bench/test_encoders.py::test_dump_dataclass
0%
1.4 ms
1.4 ms
test_load_date
bench/test_encoders.py::test_load_date
0%
1.1 ms
1.1 ms
test_dump_datetime
bench/test_encoders.py::test_dump_datetime
0%
4.2 ms
4.2 ms
test_dump_dict_simple_types
bench/test_encoders.py::test_dump_dict_simple_types
0%
178.7 ms
178.7 ms
test_load_enum
bench/test_encoders.py::test_load_enum
0%
1 ms
1 ms
test_load_recursive
bench/test_encoders.py::test_load_recursive
0%
3.7 ms
3.7 ms
test_load_tuple_simple_types
bench/test_encoders.py::test_load_tuple_simple_types
0%
1.2 ms
1.2 ms
test_load_decimal
bench/test_encoders.py::test_load_decimal
0%
1.8 ms
1.8 ms
test_load_union
bench/test_encoders.py::test_load_union
0%
4 ms
4 ms
test_dump_time
bench/test_encoders.py::test_dump_time
0%
3.1 ms
3.1 ms
test_dump_date
bench/test_encoders.py::test_dump_date
-1%
2.6 ms
2.6 ms
test_load_uuid
bench/test_encoders.py::test_load_uuid
-1%
6.5 ms
6.6 ms
test_load_github_issue[serpyco_rs]
bench/compare/test_github_issue.py::test_load_github_issue[serpyco_rs]
-1%
112.7 µs
113.3 µs
test_dump_github_issue[serpyco_rs]
bench/compare/test_github_issue.py::test_dump_github_issue[serpyco_rs]
-1%
124.8 µs
125.7 µs
test_load_optional
bench/test_encoders.py::test_load_optional
-1%
23.6 µs
23.7 µs
test_load_validate
bench/test_full.py::test_load_validate
-1%
97.9 ms
99.4 ms

Commits

Click on a commit to change the comparison range
base
master
d043e06
-12%
Added current path in object for missing required property errors
116ce17
8 months ago
by ermakov-oleg
ResourcesHomePricingDocsBlogGitHubChangelog
Copyright © 2024 CodSpeed Technology SAS. All rights reserved.