BlogDocs

Fix duplicated map keys check in decode_dag_cbor(#16)

Merged
Comparing
fix-duplicated-keys-check
(
faef426
) with
main
(
d404502
)
+2%
IMPROVEMENTS
0
REGRESSIONS
0
UNTOUCHED
62
NEW
0
DROPPED
0
IGNORED
0

Benchmarks

Passed

test_dag_cbor_decode[roundtrip07.json]
pytests/test_dag_cbor.py::test_dag_cbor_decode[roundtrip07.json]
+7%
18 µs
16.8 µs
test_dag_cbor_decode[roundtrip21.json]
pytests/test_dag_cbor.py::test_dag_cbor_decode[roundtrip21.json]
+7%
20.2 µs
18.9 µs
test_dag_cbor_encode[roundtrip17.json]
pytests/test_dag_cbor.py::test_dag_cbor_encode[roundtrip17.json]
+6%
19.7 µs
18.5 µs
test_dag_cbor_decode[roundtrip22.json]
pytests/test_dag_cbor.py::test_dag_cbor_decode[roundtrip22.json]
+6%
20.2 µs
19 µs
test_dag_cbor_encode[roundtrip25.json]
pytests/test_dag_cbor.py::test_dag_cbor_encode[roundtrip25.json]
+5%
19.7 µs
18.7 µs
test_dag_cbor_decode[roundtrip20.json]
pytests/test_dag_cbor.py::test_dag_cbor_decode[roundtrip20.json]
+4%
19.7 µs
18.9 µs
test_dag_cbor_decode[roundtrip13.json]
pytests/test_dag_cbor.py::test_dag_cbor_decode[roundtrip13.json]
+4%
20.9 µs
20.1 µs
test_dag_cbor_decode[roundtrip26.json]
pytests/test_dag_cbor.py::test_dag_cbor_decode[roundtrip26.json]
+4%
19.7 µs
19 µs
test_dag_cbor_decode[roundtrip06.json]
pytests/test_dag_cbor.py::test_dag_cbor_decode[roundtrip06.json]
+4%
17.6 µs
17 µs
test_dag_cbor_decode[roundtrip08.json]
pytests/test_dag_cbor.py::test_dag_cbor_decode[roundtrip08.json]
+4%
20.1 µs
19.4 µs
test_dag_cbor_decode[roundtrip24.json]
pytests/test_dag_cbor.py::test_dag_cbor_decode[roundtrip24.json]
+4%
19.6 µs
18.9 µs
test_dag_cbor_decode[roundtrip02.json]
pytests/test_dag_cbor.py::test_dag_cbor_decode[roundtrip02.json]
+4%
18.8 µs
18.2 µs
test_dag_cbor_decode[roundtrip18.json]
pytests/test_dag_cbor.py::test_dag_cbor_decode[roundtrip18.json]
+4%
20.6 µs
19.9 µs
test_dag_cbor_decode[roundtrip14.json]
pytests/test_dag_cbor.py::test_dag_cbor_decode[roundtrip14.json]
+3%
20.9 µs
20.2 µs
test_dag_cbor_decode[roundtrip27.json]
pytests/test_dag_cbor.py::test_dag_cbor_decode[roundtrip27.json]
+3%
19.5 µs
18.9 µs
test_dag_cbor_encode[roundtrip15.json]
pytests/test_dag_cbor.py::test_dag_cbor_encode[roundtrip15.json]
+3%
18.8 µs
18.2 µs
test_dag_cbor_decode[roundtrip16.json]
pytests/test_dag_cbor.py::test_dag_cbor_decode[roundtrip16.json]
+3%
20.6 µs
20 µs
test_dag_cbor_decode[roundtrip11.json]
pytests/test_dag_cbor.py::test_dag_cbor_decode[roundtrip11.json]
+3%
19.8 µs
19.2 µs
test_dag_cbor_encode[roundtrip10.json]
pytests/test_dag_cbor.py::test_dag_cbor_encode[roundtrip10.json]
+3%
27.1 µs
26.3 µs
test_dag_cbor_decode[roundtrip12.json]
pytests/test_dag_cbor.py::test_dag_cbor_decode[roundtrip12.json]
+3%
20.9 µs
20.2 µs
test_dag_cbor_encode[roundtrip14.json]
pytests/test_dag_cbor.py::test_dag_cbor_encode[roundtrip14.json]
+3%
19.2 µs
18.6 µs
test_dag_cbor_encode[roundtrip23.json]
pytests/test_dag_cbor.py::test_dag_cbor_encode[roundtrip23.json]
+3%
19.3 µs
18.7 µs
test_dag_cbor_encode[roundtrip26.json]
pytests/test_dag_cbor.py::test_dag_cbor_encode[roundtrip26.json]
+3%
18.4 µs
17.9 µs
test_dag_cbor_decode[roundtrip15.json]
pytests/test_dag_cbor.py::test_dag_cbor_decode[roundtrip15.json]
+3%
19.7 µs
19.1 µs
test_dag_cbor_decode[roundtrip01.json]
pytests/test_dag_cbor.py::test_dag_cbor_decode[roundtrip01.json]
+3%
18.7 µs
18.2 µs
test_dag_cbor_encode[roundtrip08.json]
pytests/test_dag_cbor.py::test_dag_cbor_encode[roundtrip08.json]
+3%
19 µs
18.5 µs
test_dag_cbor_encode[roundtrip19.json]
pytests/test_dag_cbor.py::test_dag_cbor_encode[roundtrip19.json]
+3%
19 µs
18.4 µs
test_dag_cbor_encode[roundtrip12.json]
pytests/test_dag_cbor.py::test_dag_cbor_encode[roundtrip12.json]
+3%
19.1 µs
18.5 µs
test_dag_cbor_encode[roundtrip16.json]
pytests/test_dag_cbor.py::test_dag_cbor_encode[roundtrip16.json]
+3%
19.1 µs
18.5 µs
test_dag_cbor_encode[roundtrip02.json]
pytests/test_dag_cbor.py::test_dag_cbor_encode[roundtrip02.json]
+3%
18.5 µs
18 µs
test_dag_cbor_encode[roundtrip07.json]
pytests/test_dag_cbor.py::test_dag_cbor_encode[roundtrip07.json]
+3%
18.6 µs
18.1 µs
test_dag_cbor_decode[roundtrip03.json]
pytests/test_dag_cbor.py::test_dag_cbor_decode[roundtrip03.json]
+3%
18.7 µs
18.2 µs
test_dag_cbor_decode[roundtrip05.json]
pytests/test_dag_cbor.py::test_dag_cbor_decode[roundtrip05.json]
+3%
21 µs
20.4 µs
test_dag_cbor_encode[roundtrip18.json]
pytests/test_dag_cbor.py::test_dag_cbor_encode[roundtrip18.json]
+3%
19 µs
18.5 µs
test_dag_cbor_encode[roundtrip13.json]
pytests/test_dag_cbor.py::test_dag_cbor_encode[roundtrip13.json]
+3%
19.1 µs
18.5 µs
test_dag_cbor_encode[roundtrip06.json]
pytests/test_dag_cbor.py::test_dag_cbor_encode[roundtrip06.json]
+3%
17.1 µs
16.6 µs
test_dag_cbor_encode[roundtrip24.json]
pytests/test_dag_cbor.py::test_dag_cbor_encode[roundtrip24.json]
+3%
18.5 µs
18 µs
test_dag_cbor_decode[roundtrip23.json]
pytests/test_dag_cbor.py::test_dag_cbor_decode[roundtrip23.json]
+3%
19.5 µs
19 µs
test_dag_cbor_encode[roundtrip11.json]
pytests/test_dag_cbor.py::test_dag_cbor_encode[roundtrip11.json]
+3%
19.7 µs
19.2 µs
test_dag_cbor_encode[roundtrip01.json]
pytests/test_dag_cbor.py::test_dag_cbor_encode[roundtrip01.json]
+3%
18.2 µs
17.7 µs
test_dag_cbor_encode[roundtrip22.json]
pytests/test_dag_cbor.py::test_dag_cbor_encode[roundtrip22.json]
+3%
18.4 µs
17.9 µs
test_dag_cbor_decode[roundtrip25.json]
pytests/test_dag_cbor.py::test_dag_cbor_decode[roundtrip25.json]
+3%
20.2 µs
19.7 µs
test_dag_cbor_decode[roundtrip17.json]
pytests/test_dag_cbor.py::test_dag_cbor_decode[roundtrip17.json]
+2%
20.6 µs
20.1 µs
test_dag_cbor_encode_real_data[twitter.json]
pytests/test_dag_cbor.py::test_dag_cbor_encode_real_data[twitter.json]
+2%
10.9 ms
10.6 ms
test_dag_cbor_encode[roundtrip20.json]
pytests/test_dag_cbor.py::test_dag_cbor_encode[roundtrip20.json]
+2%
18.4 µs
17.9 µs
test_dag_cbor_encode[roundtrip27.json]
pytests/test_dag_cbor.py::test_dag_cbor_encode[roundtrip27.json]
+2%
18.4 µs
17.9 µs
test_dag_cbor_encode[roundtrip09.json]
pytests/test_dag_cbor.py::test_dag_cbor_encode[roundtrip09.json]
+2%
27.1 µs
26.5 µs
test_dag_cbor_decode[roundtrip04.json]
pytests/test_dag_cbor.py::test_dag_cbor_decode[roundtrip04.json]
+2%
19.5 µs
19.1 µs
test_dag_cbor_encode[roundtrip04.json]
pytests/test_dag_cbor.py::test_dag_cbor_encode[roundtrip04.json]
+2%
18.8 µs
18.4 µs
test_dag_cbor_encode[roundtrip21.json]
pytests/test_dag_cbor.py::test_dag_cbor_encode[roundtrip21.json]
+2%
18.4 µs
18 µs
test_dag_cbor_encode[roundtrip03.json]
pytests/test_dag_cbor.py::test_dag_cbor_encode[roundtrip03.json]
+2%
24.4 µs
24 µs
test_dag_cbor_decode[roundtrip19.json]
pytests/test_dag_cbor.py::test_dag_cbor_decode[roundtrip19.json]
+2%
20.5 µs
20.1 µs
test_dag_cbor_encode[roundtrip05.json]
pytests/test_dag_cbor.py::test_dag_cbor_encode[roundtrip05.json]
+1%
22.4 µs
22.1 µs
test_dag_cbor_encode_real_data[github.json]
pytests/test_dag_cbor.py::test_dag_cbor_encode_real_data[github.json]
+1%
1.3 ms
1.2 ms
test_dag_cbor_decode[roundtrip10.json]
pytests/test_dag_cbor.py::test_dag_cbor_decode[roundtrip10.json]
0%
23.1 µs
23.1 µs
test_dag_cbor_encode_real_data[canada.json]
pytests/test_dag_cbor.py::test_dag_cbor_encode_real_data[canada.json]
0%
22.7 ms
22.7 ms
test_dag_cbor_encode_real_data[citm_catalog.json]
pytests/test_dag_cbor.py::test_dag_cbor_encode_real_data[citm_catalog.json]
0%
30.3 ms
30.4 ms
test_dag_cbor_decode_real_data[canada.json]
pytests/test_dag_cbor.py::test_dag_cbor_decode_real_data[canada.json]
-1%
87.7 ms
88.1 ms
test_dag_cbor_decode[roundtrip09.json]
pytests/test_dag_cbor.py::test_dag_cbor_decode[roundtrip09.json]
-3%
22.2 µs
22.9 µs
test_dag_cbor_decode_real_data[citm_catalog.json]
pytests/test_dag_cbor.py::test_dag_cbor_decode_real_data[citm_catalog.json]
-6%
37.4 ms
39.9 ms
test_dag_cbor_decode_real_data[twitter.json]
pytests/test_dag_cbor.py::test_dag_cbor_decode_real_data[twitter.json]
-6%
16.5 ms
17.6 ms
test_dag_cbor_decode_real_data[github.json]
pytests/test_dag_cbor.py::test_dag_cbor_decode_real_data[github.json]
-7%
1.6 ms
1.8 ms

Commits

Click on a commit to change the comparison range
base
main
d404502
+2%
Fix duplicated map keys check in decode_dag_cbor
faef426
9 months ago
by MarshalX
ResourcesHomePricingDocsBlogGitHubChangelog
Copyright © 2024 CodSpeed Technology SAS. All rights reserved.