BlogDocs

Added support custom types(#148)

Merged
Comparing
support-custom-types
(
8086a11
) with
master
(
77504f4
)
+15%
IMPROVEMENTS
2
REGRESSIONS
0
UNTOUCHED
35
NEW
0
DROPPED
0
IGNORED
0

Benchmarks

Improved

test_dump_list_simple_types
bench/test_encoders.py::test_dump_list_simple_types
+15%
26.1 ms
22.7 ms
test_dump_uuid
bench/test_encoders.py::test_dump_uuid
+12%
4.9 ms
4.4 ms

Passed

test_dump_small_list_simple_types
bench/test_encoders.py::test_dump_small_list_simple_types
+3%
1.3 ms
1.3 ms
test_dump_datetime
bench/test_encoders.py::test_dump_datetime
+2%
1.6 ms
1.5 ms
test_load_github_issue[mashumaro]
bench/compare/test_github_issue.py::test_load_github_issue[mashumaro]
+2%
206.2 µs
202.9 µs
test_load_decimal
bench/test_encoders.py::test_load_decimal
+2%
1.8 ms
1.8 ms
test_dump_dict_simple_types
bench/test_encoders.py::test_dump_dict_simple_types
+1%
179.8 ms
178.3 ms
test_load_datetime
bench/test_encoders.py::test_load_datetime
+1%
1.1 ms
1.1 ms
test_load_enum
bench/test_encoders.py::test_load_enum
0%
1 ms
1 ms
test_dump_optional
bench/test_encoders.py::test_dump_optional
0%
23.8 µs
23.6 µs
test_load_recursive
bench/test_encoders.py::test_load_recursive
0%
3.7 ms
3.7 ms
test_load_simple_types
bench/test_encoders.py::test_load_simple_types
0%
913 µs
910.1 µs
test_load_small_list_simple_types
bench/test_encoders.py::test_load_small_list_simple_types
0%
1.5 ms
1.5 ms
test_load_date
bench/test_encoders.py::test_load_date
0%
1.1 ms
1.1 ms
test_load_union
bench/test_encoders.py::test_load_union
0%
4 ms
4 ms
test_dump_date
bench/test_encoders.py::test_dump_date
0%
1.2 ms
1.2 ms
test_dump_union
bench/test_encoders.py::test_dump_union
0%
915.7 µs
914.4 µs
test_load_tuple_simple_types
bench/test_encoders.py::test_load_tuple_simple_types
0%
1.2 ms
1.2 ms
test_dump_time
bench/test_encoders.py::test_dump_time
0%
1.2 ms
1.2 ms
test_dump_simple_types
bench/test_encoders.py::test_dump_simple_types
0%
887.4 µs
886.9 µs
test_dump_decimal
bench/test_encoders.py::test_dump_decimal
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_uuid
bench/test_encoders.py::test_load_uuid
0%
6.6 ms
6.6 ms
test_load_validate
bench/test_full.py::test_load_validate
0%
98.3 ms
98.3 ms
test_dump_enum
bench/test_encoders.py::test_dump_enum
0%
1.7 ms
1.7 ms
test_load_optional
bench/test_encoders.py::test_load_optional
0%
23.6 µs
23.7 µs
test_load_github_issue[serpyco_rs]
bench/compare/test_github_issue.py::test_load_github_issue[serpyco_rs]
0%
112.5 µs
112.8 µs
test_load_dataclass
bench/test_encoders.py::test_load_dataclass
0%
1.9 ms
1.9 ms
test_dump_tuple_simple_types
bench/test_encoders.py::test_dump_tuple_simple_types
0%
1.2 ms
1.2 ms
test_load_time
bench/test_encoders.py::test_load_time
0%
1.1 ms
1.1 ms
test_load_list_simple_types
bench/test_encoders.py::test_load_list_simple_types
0%
43 ms
43.2 ms
test_dump_dataclass
bench/test_encoders.py::test_dump_dataclass
-1%
1.4 ms
1.4 ms
test_dump
bench/test_full.py::test_dump
-1%
72.7 ms
73.4 ms
test_dump_github_issue[serpyco_rs]
bench/compare/test_github_issue.py::test_dump_github_issue[serpyco_rs]
-1%
110.6 µs
111.7 µs
test_dump_github_issue[mashumaro]
bench/compare/test_github_issue.py::test_dump_github_issue[mashumaro]
-2%
107.5 µs
109.1 µs
test_load_dict_simple_types
bench/test_encoders.py::test_load_dict_simple_types
-2%
198.6 ms
202.1 ms
test_dump_dict_dataclass_value
bench/test_encoders.py::test_dump_dict_dataclass_value
-2%
669.5 µs
681.8 µs

Commits

Click on a commit to change the comparison range
base
master
77504f4
+15%
Added support custom types
79dc3a6
6 months ago
by ermakov-oleg
0%
Added docs
8086a11
6 months ago
by ermakov-oleg
ResourcesHomePricingDocsBlogGitHubChangelog
Copyright © 2024 CodSpeed Technology SAS. All rights reserved.