BlogDocs

Fixed generics schemas parametrised with different types(#55)

Merged
Comparing
fix-generics
(
03a93b1
) with
master
(
e68cca9
)
0%
IMPROVEMENTS
0
REGRESSIONS
0
UNTOUCHED
42
NEW
0
DROPPED
0
IGNORED
0

Benchmarks

Passed

test_load_tuple_simple_types[False]
bench/test_encoders.py::test_load_tuple_simple_types[False]
+3%
1.7 ms
1.6 ms
test_load_simple_types[False]
bench/test_encoders.py::test_load_simple_types[False]
+2%
1.5 ms
1.4 ms
test_dump_date
bench/test_encoders.py::test_dump_date
+1%
2.8 ms
2.8 ms
test_load_decimal[False]
bench/test_encoders.py::test_load_decimal[False]
+1%
2.2 ms
2.2 ms
test_load_tuple_simple_types[True]
bench/test_encoders.py::test_load_tuple_simple_types[True]
+1%
3.1 ms
3 ms
test_load_decimal[True]
bench/test_encoders.py::test_load_decimal[True]
+1%
3.4 ms
3.3 ms
test_load_uuid[True]
bench/test_encoders.py::test_load_uuid[True]
+1%
8.5 ms
8.5 ms
test_load_optional[False]
bench/test_encoders.py::test_load_optional[False]
+1%
20.7 µs
20.5 µs
test_load_dataclass[False]
bench/test_encoders.py::test_load_dataclass[False]
+1%
2.5 ms
2.5 ms
test_load_date[True]
bench/test_encoders.py::test_load_date[True]
+1%
3.5 ms
3.5 ms
test_load_date[False]
bench/test_encoders.py::test_load_date[False]
+1%
2.2 ms
2.1 ms
test_dump
bench/test_full.py::test_dump
0%
64 ms
63.8 ms
test_dump_decimal
bench/test_encoders.py::test_dump_decimal
0%
1.4 ms
1.4 ms
test_load_simple_types[True]
bench/test_encoders.py::test_load_simple_types[True]
0%
2.5 ms
2.4 ms
test_load_recursive[False]
bench/test_encoders.py::test_load_recursive[False]
0%
4.3 ms
4.3 ms
test_load_datetime[True]
bench/test_encoders.py::test_load_datetime[True]
0%
4.7 ms
4.7 ms
test_load_uuid[False]
bench/test_encoders.py::test_load_uuid[False]
0%
7.2 ms
7.2 ms
test_load_datetime[False]
bench/test_encoders.py::test_load_datetime[False]
0%
3.2 ms
3.2 ms
test_load_list_simple_types[False]
bench/test_encoders.py::test_load_list_simple_types[False]
0%
32.8 ms
32.8 ms
test_load_list_simple_types[True]
bench/test_encoders.py::test_load_list_simple_types[True]
0%
106.6 ms
106.4 ms
test_load
bench/test_full.py::test_load
0%
117 ms
116.9 ms
test_load_dict_simple_types[True]
bench/test_encoders.py::test_load_dict_simple_types[True]
0%
89.7 ms
89.7 ms
test_load_validate
bench/test_full.py::test_load_validate
0%
198.9 ms
198.8 ms
test_dump_simple_types
bench/test_encoders.py::test_dump_simple_types
0%
1.1 ms
1.1 ms
test_dump_optional
bench/test_encoders.py::test_dump_optional
0%
20.5 µs
20.5 µs
test_dump_dict_simple_types
bench/test_encoders.py::test_dump_dict_simple_types
0%
227.8 ms
227.8 ms
test_load_time[True]
bench/test_encoders.py::test_load_time[True]
0%
3.6 ms
3.6 ms
test_dump_recursive
bench/test_encoders.py::test_dump_recursive
0%
2.3 ms
2.3 ms
test_dump_list_simple_types
bench/test_encoders.py::test_dump_list_simple_types
0%
32.3 ms
32.3 ms
test_dump_enum
bench/test_encoders.py::test_dump_enum
0%
2.1 ms
2.1 ms
test_load_dict_simple_types[False]
bench/test_encoders.py::test_load_dict_simple_types[False]
0%
22.8 ms
22.9 ms
test_load_optional[True]
bench/test_encoders.py::test_load_optional[True]
0%
20.6 µs
20.6 µs
test_dump_uuid
bench/test_encoders.py::test_dump_uuid
0%
5.2 ms
5.2 ms
test_dump_dataclass
bench/test_encoders.py::test_dump_dataclass
0%
1.6 ms
1.6 ms
test_load_time[False]
bench/test_encoders.py::test_load_time[False]
0%
2.2 ms
2.3 ms
test_load_recursive[True]
bench/test_encoders.py::test_load_recursive[True]
-1%
7.8 ms
7.8 ms
test_load_enum[False]
bench/test_encoders.py::test_load_enum[False]
-1%
3.6 ms
3.6 ms
test_load_enum[True]
bench/test_encoders.py::test_load_enum[True]
-1%
4.8 ms
4.9 ms
test_dump_datetime
bench/test_encoders.py::test_dump_datetime
-1%
4.3 ms
4.4 ms
test_load_dataclass[True]
bench/test_encoders.py::test_load_dataclass[True]
-1%
4.6 ms
4.7 ms
test_dump_tuple_simple_types
bench/test_encoders.py::test_dump_tuple_simple_types
-2%
1.4 ms
1.4 ms
test_dump_time
bench/test_encoders.py::test_dump_time
-3%
3.2 ms
3.3 ms

Commits

Click on a commit to change the comparison range
base
master
e68cca9
0%
Fixed generics schemas parametrised with different types
03a93b1
2 years ago
by ermakov-oleg
ResourcesHomePricingDocsBlogGitHubChangelog
Copyright © 2024 CodSpeed Technology SAS. All rights reserved.