BlogDocs

Fix reference count error on default value (segfault)(#83)

Merged
Comparing
fix-segfault
(
ca8da94
) with
master
(
6a897cd
)
0%
IMPROVEMENTS
0
REGRESSIONS
0
UNTOUCHED
44
NEW
0
DROPPED
0
IGNORED
0

Benchmarks

Passed

test_load_dataclass[False]
bench/test_encoders.py::test_load_dataclass[False]
+2%
1.7 ms
1.7 ms
test_load_tuple_simple_types[True]
bench/test_encoders.py::test_load_tuple_simple_types[True]
+2%
1.6 ms
1.5 ms
test_load_validate_compare[raw]
bench/test_full.py::test_load_validate_compare[raw]
+1%
216.1 ms
213.1 ms
test_load_optional[True]
bench/test_encoders.py::test_load_optional[True]
+1%
21.7 µs
21.4 µs
test_load_tuple_simple_types[False]
bench/test_encoders.py::test_load_tuple_simple_types[False]
+1%
1.1 ms
1 ms
test_load_recursive[False]
bench/test_encoders.py::test_load_recursive[False]
+1%
3.2 ms
3.2 ms
test_load_recursive[True]
bench/test_encoders.py::test_load_recursive[True]
0%
5.8 ms
5.8 ms
test_load_dict_simple_types[True]
bench/test_encoders.py::test_load_dict_simple_types[True]
0%
95.9 ms
95.6 ms
test_dump
bench/test_full.py::test_dump
0%
64.7 ms
64.5 ms
test_load_dataclass[True]
bench/test_encoders.py::test_load_dataclass[True]
0%
2.9 ms
2.9 ms
test_load_uuid[False]
bench/test_encoders.py::test_load_uuid[False]
0%
5.8 ms
5.8 ms
test_load_enum[False]
bench/test_encoders.py::test_load_enum[False]
0%
2.7 ms
2.7 ms
test_dump_uuid
bench/test_encoders.py::test_dump_uuid
0%
3.8 ms
3.8 ms
test_load_validate
bench/test_full.py::test_load_validate
0%
179.7 ms
179.7 ms
test_dump_enum
bench/test_encoders.py::test_dump_enum
0%
1.3 ms
1.3 ms
test_dump_dataclass
bench/test_encoders.py::test_dump_dataclass
0%
1.1 ms
1.1 ms
test_dump_decimal
bench/test_encoders.py::test_dump_decimal
0%
976.7 µs
976.8 µs
test_load_validate_compare[python]
bench/test_full.py::test_load_validate_compare[python]
0%
252.3 ms
252.3 ms
test_load
bench/test_full.py::test_load
0%
90.5 ms
90.5 ms
test_dump_recursive
bench/test_encoders.py::test_dump_recursive
0%
1.8 ms
1.8 ms
test_dump_simple_types
bench/test_encoders.py::test_dump_simple_types
0%
667.5 µs
667.7 µs
test_dump_dict_simple_types
bench/test_encoders.py::test_dump_dict_simple_types
0%
237 ms
237.1 ms
test_load_dict_simple_types[False]
bench/test_encoders.py::test_load_dict_simple_types[False]
0%
23.7 ms
23.7 ms
test_load_list_simple_types[True]
bench/test_encoders.py::test_load_list_simple_types[True]
0%
100.4 ms
100.5 ms
test_dump_tuple_simple_types
bench/test_encoders.py::test_dump_tuple_simple_types
0%
956.3 µs
957.1 µs
test_dump_list_simple_types
bench/test_encoders.py::test_dump_list_simple_types
0%
31.6 ms
31.6 ms
test_load_list_simple_types[False]
bench/test_encoders.py::test_load_list_simple_types[False]
0%
31.8 ms
31.9 ms
test_load_date[True]
bench/test_encoders.py::test_load_date[True]
0%
1.2 ms
1.2 ms
test_load_datetime[False]
bench/test_encoders.py::test_load_datetime[False]
0%
1.2 ms
1.2 ms
test_load_time[False]
bench/test_encoders.py::test_load_time[False]
0%
1.1 ms
1.1 ms
test_load_date[False]
bench/test_encoders.py::test_load_date[False]
0%
1 ms
1 ms
test_load_simple_types[True]
bench/test_encoders.py::test_load_simple_types[True]
0%
938.3 µs
941.8 µs
test_load_simple_types[False]
bench/test_encoders.py::test_load_simple_types[False]
0%
854 µs
857.3 µs
test_dump_date
bench/test_encoders.py::test_dump_date
-1%
2.3 ms
2.4 ms
test_load_datetime[True]
bench/test_encoders.py::test_load_datetime[True]
-1%
1.4 ms
1.5 ms
test_load_time[True]
bench/test_encoders.py::test_load_time[True]
-1%
1.3 ms
1.3 ms
test_dump_datetime
bench/test_encoders.py::test_dump_datetime
-1%
3.8 ms
3.9 ms
test_load_uuid[True]
bench/test_encoders.py::test_load_uuid[True]
-1%
6.1 ms
6.2 ms
test_load_decimal[True]
bench/test_encoders.py::test_load_decimal[True]
-1%
1.9 ms
1.9 ms
test_load_decimal[False]
bench/test_encoders.py::test_load_decimal[False]
-2%
1.6 ms
1.6 ms
test_dump_time
bench/test_encoders.py::test_dump_time
-2%
2.7 ms
2.8 ms
test_load_enum[True]
bench/test_encoders.py::test_load_enum[True]
-2%
2.9 ms
2.9 ms
test_load_optional[False]
bench/test_encoders.py::test_load_optional[False]
-6%
20.8 µs
22.2 µs
test_dump_optional
bench/test_encoders.py::test_dump_optional
-9%
19.8 µs
21.7 µs

Commits

Click on a commit to change the comparison range
base
master
6a897cd
0%
Fix reference count error on default value (segfault)
5fab8a9
1 year ago
by ermakov-oleg
0%
Bump version
ca8da94
1 year ago
by ermakov-oleg
ResourcesHomePricingDocsBlogGitHubChangelog
Copyright © 2024 CodSpeed Technology SAS. All rights reserved.