BlogDocs

Support frozen dataclasses/attrs(#112)

Merged
Comparing
support-frozen-dataclass
(
aca8290
) with
master
(
870f149
)
0%
IMPROVEMENTS
0
REGRESSIONS
0
UNTOUCHED
32
NEW
0
DROPPED
0
IGNORED
0

Benchmarks

Passed

test_dump_optional
bench/test_encoders.py::test_dump_optional
+6%
21 µs
19.8 µs
test_dump_github_issue[serpyco_rs]
bench/compare/test_github_issue.py::test_dump_github_issue[serpyco_rs]
+1%
110.9 µs
109.4 µs
test_load_uuid
bench/test_encoders.py::test_load_uuid
+1%
5.7 ms
5.6 ms
test_load_github_issue[mashumaro]
bench/compare/test_github_issue.py::test_load_github_issue[mashumaro]
+1%
181.5 µs
180.4 µs
test_load_decimal
bench/test_encoders.py::test_load_decimal
0%
1.5 ms
1.5 ms
test_dump_dataclass
bench/test_encoders.py::test_dump_dataclass
0%
1.1 ms
1.1 ms
test_dump_uuid
bench/test_encoders.py::test_dump_uuid
0%
3.8 ms
3.8 ms
test_load_simple_types
bench/test_encoders.py::test_load_simple_types
0%
678.6 µs
677.1 µs
test_load_enum
bench/test_encoders.py::test_load_enum
0%
783.6 µs
782.5 µs
test_load_tuple_simple_types
bench/test_encoders.py::test_load_tuple_simple_types
0%
942.7 µs
941.6 µs
test_dump_decimal
bench/test_encoders.py::test_dump_decimal
0%
976.5 µs
975.4 µs
test_dump_enum
bench/test_encoders.py::test_dump_enum
0%
1.3 ms
1.3 ms
test_load_time
bench/test_encoders.py::test_load_time
0%
885.6 µs
884.9 µs
test_dump_list_simple_types
bench/test_encoders.py::test_dump_list_simple_types
0%
26.3 ms
26.3 ms
test_load_datetime
bench/test_encoders.py::test_load_datetime
0%
944.8 µs
944.2 µs
test_dump_tuple_simple_types
bench/test_encoders.py::test_dump_tuple_simple_types
0%
998.6 µs
998 µs
test_load_date
bench/test_encoders.py::test_load_date
0%
843.5 µs
843 µs
test_dump_dict_simple_types
bench/test_encoders.py::test_dump_dict_simple_types
0%
237 ms
236.9 ms
test_dump_date
bench/test_encoders.py::test_dump_date
0%
2.2 ms
2.2 ms
test_load_dict_simple_types
bench/test_encoders.py::test_load_dict_simple_types
0%
27.8 ms
27.8 ms
test_dump_simple_types
bench/test_encoders.py::test_dump_simple_types
0%
663.8 µs
663.7 µs
test_load_list_simple_types
bench/test_encoders.py::test_load_list_simple_types
0%
43.8 ms
43.9 ms
test_dump
bench/test_full.py::test_dump
0%
65.1 ms
65.2 ms
test_dump_recursive
bench/test_encoders.py::test_dump_recursive
0%
1.9 ms
1.9 ms
test_load_dataclass
bench/test_encoders.py::test_load_dataclass
0%
1.5 ms
1.5 ms
test_load_optional
bench/test_encoders.py::test_load_optional
-1%
19.6 µs
19.7 µs
test_load_recursive
bench/test_encoders.py::test_load_recursive
-1%
3 ms
3 ms
test_dump_datetime
bench/test_encoders.py::test_dump_datetime
-1%
3.7 ms
3.7 ms
test_load_github_issue[serpyco_rs]
bench/compare/test_github_issue.py::test_load_github_issue[serpyco_rs]
-1%
96 µs
96.9 µs
test_dump_time
bench/test_encoders.py::test_dump_time
-1%
2.7 ms
2.7 ms
test_load_validate
bench/test_full.py::test_load_validate
-1%
87 ms
88 ms
test_dump_github_issue[mashumaro]
bench/compare/test_github_issue.py::test_dump_github_issue[mashumaro]
-4%
100.9 µs
104.8 µs

Commits

Click on a commit to change the comparison range
base
master
870f149
0%
Support frozen dataclasses/attrs
aca8290
1 year ago
by ermakov-oleg
ResourcesHomePricingDocsBlogGitHubChangelog
Copyright © 2024 CodSpeed Technology SAS. All rights reserved.