BlogDocs

Added support TypedDict(#62)

Merged
Comparing
support-typeddict
(
e1e8a66
) with
master
(
7342124
)
0%
IMPROVEMENTS
0
REGRESSIONS
0
UNTOUCHED
42
NEW
0
DROPPED
0
IGNORED
0

Benchmarks

Passed

test_dump_datetime
bench/test_encoders.py::test_dump_datetime
+1%
3.9 ms
3.9 ms
test_dump_time
bench/test_encoders.py::test_dump_time
+1%
2.8 ms
2.8 ms
test_load_simple_types[True]
bench/test_encoders.py::test_load_simple_types[True]
+1%
1.4 ms
1.4 ms
test_dump
bench/test_full.py::test_dump
+1%
64.9 ms
64.6 ms
test_load_optional[True]
bench/test_encoders.py::test_load_optional[True]
0%
21.1 µs
21 µs
test_dump_optional
bench/test_encoders.py::test_dump_optional
0%
20.5 µs
20.4 µs
test_load_tuple_simple_types[True]
bench/test_encoders.py::test_load_tuple_simple_types[True]
0%
2 ms
2 ms
test_load_enum[True]
bench/test_encoders.py::test_load_enum[True]
0%
3.4 ms
3.4 ms
test_load_dataclass[False]
bench/test_encoders.py::test_load_dataclass[False]
0%
1.6 ms
1.6 ms
test_dump_uuid
bench/test_encoders.py::test_dump_uuid
0%
3.9 ms
3.8 ms
test_load_dict_simple_types[False]
bench/test_encoders.py::test_load_dict_simple_types[False]
0%
21.9 ms
21.9 ms
test_load_date[True]
bench/test_encoders.py::test_load_date[True]
0%
1.9 ms
1.9 ms
test_load_list_simple_types[False]
bench/test_encoders.py::test_load_list_simple_types[False]
0%
31.9 ms
31.9 ms
test_load_uuid[False]
bench/test_encoders.py::test_load_uuid[False]
0%
5.7 ms
5.7 ms
test_load_list_simple_types[True]
bench/test_encoders.py::test_load_list_simple_types[True]
0%
104.9 ms
104.9 ms
test_load_simple_types[False]
bench/test_encoders.py::test_load_simple_types[False]
0%
796.3 µs
796.2 µs
test_dump_simple_types
bench/test_encoders.py::test_dump_simple_types
0%
707 µs
707.1 µs
test_load_recursive[False]
bench/test_encoders.py::test_load_recursive[False]
0%
3.1 ms
3.1 ms
test_dump_dict_simple_types
bench/test_encoders.py::test_dump_dict_simple_types
0%
218.8 ms
218.9 ms
test_dump_decimal
bench/test_encoders.py::test_dump_decimal
0%
1 ms
1 ms
test_load
bench/test_full.py::test_load
0%
87.8 ms
87.8 ms
test_dump_list_simple_types
bench/test_encoders.py::test_dump_list_simple_types
0%
31.7 ms
31.7 ms
test_load_uuid[True]
bench/test_encoders.py::test_load_uuid[True]
0%
6.6 ms
6.6 ms
test_load_dataclass[True]
bench/test_encoders.py::test_load_dataclass[True]
0%
3.3 ms
3.3 ms
test_load_decimal[False]
bench/test_encoders.py::test_load_decimal[False]
0%
1.5 ms
1.5 ms
test_load_date[False]
bench/test_encoders.py::test_load_date[False]
0%
987.2 µs
991.4 µs
test_load_validate
bench/test_full.py::test_load_validate
0%
172.2 ms
172.9 ms
test_dump_date
bench/test_encoders.py::test_dump_date
-1%
2.3 ms
2.3 ms
test_dump_recursive
bench/test_encoders.py::test_dump_recursive
-1%
1.9 ms
1.9 ms
test_load_datetime[True]
bench/test_encoders.py::test_load_datetime[True]
-1%
2.1 ms
2.1 ms
test_load_enum[False]
bench/test_encoders.py::test_load_enum[False]
-1%
2.6 ms
2.6 ms
test_load_recursive[True]
bench/test_encoders.py::test_load_recursive[True]
-1%
6.1 ms
6.1 ms
test_dump_dataclass
bench/test_encoders.py::test_dump_dataclass
-1%
1.1 ms
1.1 ms
test_load_tuple_simple_types[False]
bench/test_encoders.py::test_load_tuple_simple_types[False]
-1%
988.7 µs
997.8 µs
test_load_decimal[True]
bench/test_encoders.py::test_load_decimal[True]
-1%
2.3 ms
2.3 ms
test_dump_enum
bench/test_encoders.py::test_dump_enum
-1%
1.3 ms
1.3 ms
test_load_dict_simple_types[True]
bench/test_encoders.py::test_load_dict_simple_types[True]
-1%
90.7 ms
92 ms
test_load_time[True]
bench/test_encoders.py::test_load_time[True]
-1%
1.9 ms
1.9 ms
test_dump_tuple_simple_types
bench/test_encoders.py::test_dump_tuple_simple_types
-1%
1 ms
1 ms
test_load_time[False]
bench/test_encoders.py::test_load_time[False]
-2%
1 ms
1 ms
test_load_datetime[False]
bench/test_encoders.py::test_load_datetime[False]
-3%
1.1 ms
1.1 ms
test_load_optional[False]
bench/test_encoders.py::test_load_optional[False]
-7%
20 µs
21.4 µs

Commits

Click on a commit to change the comparison range
base
master
7342124
0%
Added support TypedDict
1f40bb2
1 year ago
by ermakov-oleg
0%
Fix python 3.9/3.10 support
cd05142
1 year ago
by ermakov-oleg
0%
Fix python 3.9/3.10 support
e1e8a66
1 year ago
by ermakov-oleg
ResourcesHomePricingDocsBlogGitHubChangelog
Copyright © 2024 CodSpeed Technology SAS. All rights reserved.