BlogDocs

Optimize array creation(#40)

Merged
Comparing
optimize-array-creation
(
6d428c8
) with
main
(
9fb1353
)
+16%
IMPROVEMENTS
1
REGRESSIONS
0
UNTOUCHED
191
NEW
0
DROPPED
0
IGNORED
0

Benchmarks

Improved

test_dag_cbor_decode_real_data[canada.json]
pytests/test_dag_cbor.py::test_dag_cbor_decode_real_data[canada.json]
+16%
75.7 ms
65.4 ms

Passed

test_dag_cbor_decode_fixtures[int-18446744073709551615]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[int-18446744073709551615]
+6%
16.4 µs
15.5 µs
test_dag_cbor_decode_fixtures[int-2]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[int-2]
+6%
15.3 µs
14.5 µs
test_dag_cbor_decode_torture_cids
pytests/test_dag_cbor.py::test_dag_cbor_decode_torture_cids
+5%
88.9 ms
84.4 ms
test_dag_cbor_decode_fixtures[int--9223372036854775808]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[int--9223372036854775808]
+5%
16.5 µs
15.7 µs
test_dag_cbor_decode_fixtures[bytes-a1]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[bytes-a1]
+4%
16 µs
15.4 µs
test_dag_cbor_decode_fixtures[float-array_of_specials]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[float-array_of_specials]
+4%
19.1 µs
18.4 µs
test_dag_cbor_decode_fixtures[dagpb_7unnamedlinks+data]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[dagpb_7unnamedlinks+data]
+3%
54.9 µs
53 µs
test_dag_cbor_decode_fixtures[string-Hello world!]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[string-Hello world!]
+3%
18 µs
17.4 µs
test_dag_cbor_decode_fixtures[float-8.940696716308594e-8]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[float-8.940696716308594e-8]
+3%
16.3 µs
15.8 µs
test_dag_cbor_decode_fixtures[array-mixed]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[array-mixed]
+3%
27.8 µs
27 µs
test_dag_cbor_decode_fixtures[cid-bagyacvradn6dsgl6sw2jwoh7s3d37hq5wsu7g22wtdwnmaaaaaaaaaaaaaaa]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[cid-bagyacvradn6dsgl6sw2jwoh7s3d37hq5wsu7g22wtdwnmaaaaaaaaaaaaaaa]
+3%
20.4 µs
19.9 µs
test_dag_cbor_decode_fixtures[garbage-15]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[garbage-15]
+3%
38.1 µs
37.2 µs
test_dag_cbor_decode_fixtures[garbage-09]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[garbage-09]
+2%
48.4 µs
47.3 µs
test_dag_cbor_decode_fixtures[cid-z8mWaJ1dZ9fH5EetPuRsj8jj26pXsgpsr]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[cid-z8mWaJ1dZ9fH5EetPuRsj8jj26pXsgpsr]
+2%
19.1 µs
18.7 µs
test_dag_cbor_decode_fixtures[garbage-22]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[garbage-22]
+2%
62.7 µs
61.3 µs
test_dag_cbor_decode_fixtures[int-255]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[int-255]
+2%
15.4 µs
15.1 µs
test_dag_cbor_decode_fixtures[float-0.5]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[float-0.5]
+2%
16.1 µs
15.7 µs
test_dag_cbor_decode_fixtures[dagpb_Data_some]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[dagpb_Data_some]
+2%
23.3 µs
22.8 µs
test_dag_cbor_decode[roundtrip19.json]
pytests/test_dag_cbor.py::test_dag_cbor_decode[roundtrip19.json]
+2%
18.9 µs
18.5 µs
test_dag_cbor_decode_fixtures[cid-QmRgutAxd8t7oGkSm4wmeuByG6M51wcTso6cubDdQtuEfL]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[cid-QmRgutAxd8t7oGkSm4wmeuByG6M51wcTso6cubDdQtuEfL]
+2%
20.2 µs
19.8 µs
test_dag_cbor_decode_fixtures[cid-bafkqabiaaebagba]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[cid-bafkqabiaaebagba]
+2%
19.7 µs
19.4 µs
test_dag_cbor_decode[roundtrip14.json]
pytests/test_dag_cbor.py::test_dag_cbor_decode[roundtrip14.json]
+2%
19.8 µs
19.5 µs
test_dag_cbor_decode_fixtures[dagpb_Links_Hash_some_Tsize_some]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[dagpb_Links_Hash_some_Tsize_some]
+2%
29.3 µs
28.8 µs
test_dag_cbor_decode_real_data[citm_catalog.json]
pytests/test_dag_cbor.py::test_dag_cbor_decode_real_data[citm_catalog.json]
+2%
31.4 ms
30.9 ms
test_dag_cbor_decode_fixtures[string-empty]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[string-empty]
+2%
15.9 µs
15.6 µs
test_dag_cbor_decode_fixtures[garbage-01]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[garbage-01]
+2%
32 µs
31.5 µs
test_dag_cbor_decode[roundtrip18.json]
pytests/test_dag_cbor.py::test_dag_cbor_decode[roundtrip18.json]
+2%
18.8 µs
18.5 µs
test_dag_cbor_decode_fixtures[cid-arrayof]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[cid-arrayof]
+1%
37.8 µs
37.3 µs
test_dag_cbor_decode_fixtures[array-9007199254740991]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[array-9007199254740991]
+1%
19.1 µs
18.8 µs
test_dag_cbor_decode_fixtures[garbage-18]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[garbage-18]
+1%
66.6 µs
65.7 µs
test_dag_cbor_decode_fixtures[cid-bafyreidj5idub6mapiupjwjsyyxhyhedxycv4vihfsicm2vt46o7morwlm]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[cid-bafyreidj5idub6mapiupjwjsyyxhyhedxycv4vihfsicm2vt46o7morwlm]
+1%
21.1 µs
20.9 µs
test_dag_cbor_decode_fixtures[array-6433713753386423]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[array-6433713753386423]
+1%
18.9 µs
18.7 µs
test_dag_cbor_encode_real_data[canada.json]
pytests/test_dag_cbor.py::test_dag_cbor_encode_real_data[canada.json]
+1%
13.6 ms
13.5 ms
test_dag_cbor_decode_fixtures[float-1e-323]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[float-1e-323]
+1%
15.8 µs
15.7 µs
test_dag_cbor_decode[roundtrip13.json]
pytests/test_dag_cbor.py::test_dag_cbor_decode[roundtrip13.json]
+1%
18.9 µs
18.7 µs
test_dag_cbor_decode_fixtures[map-with_complex_entries]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[map-with_complex_entries]
+1%
43.9 µs
43.5 µs
test_dag_cbor_decode_fixtures[float--1e-323]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[float--1e-323]
+1%
16 µs
15.9 µs
test_dag_cbor_decode_fixtures[dagpb_1link]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[dagpb_1link]
+1%
27.7 µs
27.5 µs
test_dag_cbor_decode_fixtures[float--8.940696716308594e-8]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[float--8.940696716308594e-8]
+1%
16.1 µs
16 µs
test_dag_cbor_decode_fixtures[garbage-24]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[garbage-24]
+1%
43.3 µs
42.9 µs
test_dag_cbor_decode_fixtures[dagpb_empty]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[dagpb_empty]
+1%
20.7 µs
20.6 µs
test_dag_cbor_decode_fixtures[map-keysort]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[map-keysort]
+1%
27.5 µs
27.3 µs
test_dag_cbor_decode_fixtures[array-500]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[array-500]
+1%
18.8 µs
18.7 µs
test_dag_cbor_decode_fixtures[array-65536]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[array-65536]
+1%
18.9 µs
18.7 µs
test_dag_cbor_decode_fixtures[array-empty]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[array-empty]
+1%
16.5 µs
16.4 µs
test_dag_cbor_decode_fixtures[int--2784428724]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[int--2784428724]
+1%
16.4 µs
16.3 µs
test_dag_cbor_decode_fixtures[garbage-13]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[garbage-13]
+1%
22.3 µs
22.2 µs
test_dag_cbor_decode_fixtures[bytes-long-8bit]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[bytes-long-8bit]
+1%
17.9 µs
17.7 µs
test_dag_cbor_decode_fixtures[map-1_pair]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[map-1_pair]
+1%
18.9 µs
18.8 µs
test_dag_cbor_decode_fixtures[garbage-06]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[garbage-06]
+1%
42.2 µs
41.9 µs
test_dag_cbor_decode[roundtrip17.json]
pytests/test_dag_cbor.py::test_dag_cbor_decode[roundtrip17.json]
+1%
18.8 µs
18.7 µs
test_dag_cbor_decode_fixtures[string-\U00010151]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[string-\U00010151]
+1%
20.1 µs
19.9 µs
test_dag_cbor_decode_fixtures[string-\u010caues \xdfv\u011bte!]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[string-\u010caues \xdfv\u011bte!]
+1%
20.2 µs
20.1 µs
test_dag_cbor_decode_fixtures[null]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[null]
+1%
15.3 µs
15.2 µs
test_dag_cbor_decode_fixtures[int-9007199254740991]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[int-9007199254740991]
+1%
16.2 µs
16.1 µs
test_dag_cbor_decode_fixtures[dagpb_11unnamedlinks+data]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[dagpb_11unnamedlinks+data]
0%
68.1 µs
67.8 µs
test_dag_cbor_decode[roundtrip09.json]
pytests/test_dag_cbor.py::test_dag_cbor_decode[roundtrip09.json]
0%
21.8 µs
21.7 µs
test_dag_cbor_decode_fixtures[int--9007199254740993]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[int--9007199254740993]
0%
16.4 µs
16.4 µs
test_dag_cbor_decode[roundtrip10.json]
pytests/test_dag_cbor.py::test_dag_cbor_decode[roundtrip10.json]
0%
22.6 µs
22.5 µs
test_dag_cbor_decode_fixtures[true]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[true]
0%
15.2 µs
15.1 µs
test_dag_cbor_decode_fixtures[float-0.9999999999999999]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[float-0.9999999999999999]
0%
15.8 µs
15.8 µs
test_dag_cbor_decode_fixtures[float-82497.63712086187]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[float-82497.63712086187]
0%
15.9 µs
15.8 µs
test_dag_cbor_decode_fixtures[int--9007199254740991]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[int--9007199254740991]
0%
16.4 µs
16.4 µs
test_dag_cbor_decode_fixtures[int--9007199254740992]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[int--9007199254740992]
0%
16.5 µs
16.5 µs
test_dag_cbor_decode_fixtures[string-\u6c34]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[string-\u6c34]
0%
19.8 µs
19.8 µs
test_dag_cbor_decode_fixtures[cid-bafkreiebzrnroamgos2adnbpgw5apo3z4iishhbdx77gldnbk57d4zdio4]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[cid-bafkreiebzrnroamgos2adnbpgw5apo3z4iishhbdx77gldnbk57d4zdio4]
0%
20.3 µs
20.2 µs
test_dag_cbor_decode_fixtures[garbage-23]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[garbage-23]
0%
34.6 µs
34.5 µs
test_dag_cbor_decode_fixtures[dagpb_Data_zero]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[dagpb_Data_zero]
0%
22.4 µs
22.3 µs
test_dag_cbor_decode_fixtures[dagpb_simple_forms_1]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[dagpb_simple_forms_1]
0%
23.2 µs
23.2 µs
test_dag_cbor_decode_fixtures[string-a]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[string-a]
0%
16.5 µs
16.5 µs
test_dag_cbor_decode_fixtures[int--1]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[int--1]
0%
15.3 µs
15.2 µs
test_dag_cbor_encode_real_data[citm_catalog.json]
pytests/test_dag_cbor.py::test_dag_cbor_encode_real_data[citm_catalog.json]
0%
14 ms
13.9 ms
test_dag_cbor_decode_fixtures[float-1.1]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[float-1.1]
0%
16 µs
16 µs
test_dag_cbor_decode_fixtures[float--1.1]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[float--1.1]
0%
16.1 µs
16 µs
test_dag_cbor_decode_fixtures[false]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[false]
0%
16.1 µs
16.1 µs
test_dag_cbor_decode_fixtures[int-11959030306112471731]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[int-11959030306112471731]
0%
16.3 µs
16.3 µs
test_dag_cbor_decode_real_data[twitter.json]
pytests/test_dag_cbor.py::test_dag_cbor_decode_real_data[twitter.json]
0%
13.6 ms
13.6 ms
test_dag_cbor_decode[roundtrip07.json]
pytests/test_dag_cbor.py::test_dag_cbor_decode[roundtrip07.json]
0%
16.1 µs
16.1 µs
test_dag_cbor_encode[roundtrip25.json]
pytests/test_dag_cbor.py::test_dag_cbor_encode[roundtrip25.json]
0%
16.9 µs
16.9 µs
test_dag_cbor_decode_fixtures[bytes-empty]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[bytes-empty]
0%
15.7 µs
15.6 µs
test_dag_cbor_decode_real_data[github.json]
pytests/test_dag_cbor.py::test_dag_cbor_decode_real_data[github.json]
0%
1.4 ms
1.4 ms
test_dag_cbor_decode[roundtrip12.json]
pytests/test_dag_cbor.py::test_dag_cbor_decode[roundtrip12.json]
0%
18.9 µs
18.8 µs
test_dag_cbor_encode[roundtrip21.json]
pytests/test_dag_cbor.py::test_dag_cbor_encode[roundtrip21.json]
0%
17.2 µs
17.1 µs
test_dag_cbor_encode[roundtrip09.json]
pytests/test_dag_cbor.py::test_dag_cbor_encode[roundtrip09.json]
0%
27 µs
26.9 µs
test_dag_cbor_decode_fixtures[garbage-10]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[garbage-10]
0%
39.3 µs
39.3 µs
test_dag_cbor_encode_real_data[github.json]
pytests/test_dag_cbor.py::test_dag_cbor_encode_real_data[github.json]
0%
604.1 µs
603.7 µs
test_dag_cbor_decode_fixtures[garbage-00]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[garbage-00]
0%
60.5 µs
60.4 µs
test_dag_cbor_decode_fixtures[int--256]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[int--256]
0%
16.3 µs
16.3 µs
test_dag_cbor_encode_real_data[twitter.json]
pytests/test_dag_cbor.py::test_dag_cbor_encode_real_data[twitter.json]
0%
5.2 ms
5.2 ms
test_dag_cbor_decode_fixtures[float-1.1111111111111112]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[float-1.1111111111111112]
0%
15.7 µs
15.7 µs
test_dag_cbor_decode_fixtures[int-500]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[int-500]
0%
16 µs
16 µs
test_dag_cbor_decode_fixtures[int-65536]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[int-65536]
0%
16.2 µs
16.2 µs
test_dag_cbor_encode[roundtrip12.json]
pytests/test_dag_cbor.py::test_dag_cbor_encode[roundtrip12.json]
0%
18.1 µs
18.1 µs
test_dag_cbor_decode_fixtures[garbage-02]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[garbage-02]
0%
77.9 µs
77.9 µs
test_dag_cbor_decode_fixtures[int-0]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[int-0]
0%
15.2 µs
15.2 µs
test_decode_car
pytests/test_decode_car.py::test_decode_car
0%
1 s
1 s
test_dag_cbor_decode_fixtures[dagpb_4namedlinks+data]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[dagpb_4namedlinks+data]
0%
45.5 µs
45.6 µs
test_dag_cbor_decode_fixtures[ipns]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[ipns]
0%
26.3 µs
26.3 µs
test_dag_cbor_decode_fixtures[garbage-08]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[garbage-08]
0%
37.8 µs
37.9 µs
test_dag_cbor_decode_fixtures[int-6433713753386423]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[int-6433713753386423]
0%
16.3 µs
16.3 µs
test_dag_cbor_decode_fixtures[float--0.9999999999999999]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[float--0.9999999999999999]
0%
16 µs
16.1 µs
test_dag_cbor_decode[roundtrip06.json]
pytests/test_dag_cbor.py::test_dag_cbor_decode[roundtrip06.json]
0%
16.2 µs
16.2 µs
test_dag_cbor_encode[roundtrip19.json]
pytests/test_dag_cbor.py::test_dag_cbor_encode[roundtrip19.json]
0%
18 µs
18.1 µs
test_dag_cbor_decode_fixtures[int-1000000]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[int-1000000]
0%
16.1 µs
16.1 µs
test_dag_cbor_decode_fixtures[garbage-21]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[garbage-21]
0%
29.1 µs
29.2 µs
test_dag_cbor_decode[roundtrip16.json]
pytests/test_dag_cbor.py::test_dag_cbor_decode[roundtrip16.json]
0%
18.7 µs
18.8 µs
test_dag_cbor_decode_fixtures[garbage-17]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[garbage-17]
0%
54.4 µs
54.6 µs
test_dag_cbor_decode[roundtrip24.json]
pytests/test_dag_cbor.py::test_dag_cbor_decode[roundtrip24.json]
0%
19.3 µs
19.3 µs
test_dag_cbor_encode[roundtrip27.json]
pytests/test_dag_cbor.py::test_dag_cbor_encode[roundtrip27.json]
0%
18 µs
18.1 µs
test_dag_cbor_encode[roundtrip04.json]
pytests/test_dag_cbor.py::test_dag_cbor_encode[roundtrip04.json]
0%
22.5 µs
22.6 µs
test_dag_cbor_encode[roundtrip13.json]
pytests/test_dag_cbor.py::test_dag_cbor_encode[roundtrip13.json]
0%
22.8 µs
22.9 µs
test_dag_cbor_decode_fixtures[cid-zdj7Wd8AMwqnhJGQCbFxBVodGSBG84TM7Hs1rcJuQMwTyfEDS]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[cid-zdj7Wd8AMwqnhJGQCbFxBVodGSBG84TM7Hs1rcJuQMwTyfEDS]
0%
20.2 µs
20.3 µs
test_dag_cbor_decode_fixtures[cid-bafyreiejkvsvdq4smz44yuwhfymcuvqzavveoj2at3utujwqlllspsqr6q]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[cid-bafyreiejkvsvdq4smz44yuwhfymcuvqzavveoj2at3utujwqlllspsqr6q]
0%
20.2 µs
20.3 µs
test_dag_cbor_decode_fixtures[cid-bahaacvrasyauh7rmlyrmyc7qzvktjv7x6q2h6ttvei6qon43tl3riaaaaaaa]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[cid-bahaacvrasyauh7rmlyrmyc7qzvktjv7x6q2h6ttvei6qon43tl3riaaaaaaa]
0%
20.4 µs
20.5 µs
test_dag_cbor_decode_fixtures[array-5-nested]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[array-5-nested]
0%
24.6 µs
24.7 µs
test_dag_cbor_decode_fixtures[garbage-04]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[garbage-04]
0%
46.5 µs
46.7 µs
test_dag_cbor_encode[roundtrip02.json]
pytests/test_dag_cbor.py::test_dag_cbor_encode[roundtrip02.json]
-1%
17.9 µs
18 µs
test_dag_cbor_encode[roundtrip14.json]
pytests/test_dag_cbor.py::test_dag_cbor_encode[roundtrip14.json]
-1%
17 µs
17.1 µs
test_dag_cbor_decode_fixtures[int--501]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[int--501]
-1%
16.4 µs
16.5 µs
test_dag_cbor_decode_fixtures[int-65535]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[int-65535]
-1%
16.3 µs
16.4 µs
test_dag_cbor_decode_fixtures[float--0.5]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[float--0.5]
-1%
16 µs
16.1 µs
test_dag_cbor_decode_fixtures[string-long-8bit]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[string-long-8bit]
-1%
18 µs
18.1 µs
test_dag_cbor_decode_fixtures[cid-QmQg1v4o9xdT3Q14wh4S7dxZkDjyZ9ssFzFzyep1YrVJBY]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[cid-QmQg1v4o9xdT3Q14wh4S7dxZkDjyZ9ssFzFzyep1YrVJBY]
-1%
19.9 µs
20 µs
test_dag_cbor_decode_fixtures[int-9223372036854775807]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[int-9223372036854775807]
-1%
16.2 µs
16.3 µs
test_dag_cbor_decode_fixtures[cid-QmXg9Pp2ytZ14xgmQjYEiHjVjMFXzCVVEcRTWJBmLgR39V]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[cid-QmXg9Pp2ytZ14xgmQjYEiHjVjMFXzCVVEcRTWJBmLgR39V]
-1%
20 µs
20.1 µs
test_dag_cbor_encode[roundtrip24.json]
pytests/test_dag_cbor.py::test_dag_cbor_encode[roundtrip24.json]
-1%
16.8 µs
16.9 µs
test_dag_cbor_decode_fixtures[cid-bafkreifw7plhl6mofk6sfvhnfh64qmkq73oeqwl6sloru6rehaoujituke]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[cid-bafkreifw7plhl6mofk6sfvhnfh64qmkq73oeqwl6sloru6rehaoujituke]
-1%
20.2 µs
20.4 µs
test_dag_cbor_decode_fixtures[int--100]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[int--100]
-1%
16.3 µs
16.4 µs
test_dag_cbor_decode_fixtures[int-2784428723]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[int-2784428723]
-1%
16.3 µs
16.4 µs
test_dag_cbor_decode_fixtures[cid-bagcqcera73rupyla6bauseyk75rslfys3st25spm75ykhvgusqvv2zfqtucq]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[cid-bagcqcera73rupyla6bauseyk75rslfys3st25spm75ykhvgusqvv2zfqtucq]
-1%
20.4 µs
20.5 µs
test_dag_cbor_decode_fixtures[map-1_pair_rev]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[map-1_pair_rev]
-1%
19.5 µs
19.7 µs
test_dag_cbor_decode_fixtures[garbage-19]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[garbage-19]
-1%
42.1 µs
42.4 µs
test_dag_cbor_encode[roundtrip16.json]
pytests/test_dag_cbor.py::test_dag_cbor_encode[roundtrip16.json]
-1%
17.6 µs
17.7 µs
test_dag_cbor_encode[roundtrip05.json]
pytests/test_dag_cbor.py::test_dag_cbor_encode[roundtrip05.json]
-1%
17 µs
17.2 µs
test_dag_cbor_encode[roundtrip26.json]
pytests/test_dag_cbor.py::test_dag_cbor_encode[roundtrip26.json]
-1%
17.2 µs
17.3 µs
test_dag_cbor_encode[roundtrip03.json]
pytests/test_dag_cbor.py::test_dag_cbor_encode[roundtrip03.json]
-1%
16.9 µs
17.1 µs
test_dag_cbor_encode[roundtrip18.json]
pytests/test_dag_cbor.py::test_dag_cbor_encode[roundtrip18.json]
-1%
17 µs
17.1 µs
test_dag_cbor_encode[roundtrip23.json]
pytests/test_dag_cbor.py::test_dag_cbor_encode[roundtrip23.json]
-1%
17 µs
17.1 µs
test_dag_cbor_encode[roundtrip15.json]
pytests/test_dag_cbor.py::test_dag_cbor_encode[roundtrip15.json]
-1%
16.7 µs
16.8 µs
test_dag_cbor_encode[roundtrip01.json]
pytests/test_dag_cbor.py::test_dag_cbor_encode[roundtrip01.json]
-1%
16.5 µs
16.6 µs
test_dag_cbor_decode_fixtures[dagpb_Links_Hash_some_Name_zero]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[dagpb_Links_Hash_some_Name_zero]
-1%
28.9 µs
29.2 µs
test_dag_cbor_decode[roundtrip05.json]
pytests/test_dag_cbor.py::test_dag_cbor_decode[roundtrip05.json]
-1%
19.3 µs
19.5 µs
test_dag_cbor_decode_fixtures[int--3]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[int--3]
-1%
15.1 µs
15.2 µs
test_dag_cbor_encode[roundtrip08.json]
pytests/test_dag_cbor.py::test_dag_cbor_encode[roundtrip08.json]
-1%
16.9 µs
17.1 µs
test_dag_cbor_encode[roundtrip20.json]
pytests/test_dag_cbor.py::test_dag_cbor_encode[roundtrip20.json]
-1%
17 µs
17.2 µs
test_dag_cbor_encode[roundtrip22.json]
pytests/test_dag_cbor.py::test_dag_cbor_encode[roundtrip22.json]
-1%
16.6 µs
16.8 µs
test_dag_cbor_decode_fixtures[dagpb_Links_Hash_some_Name_some]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[dagpb_Links_Hash_some_Name_some]
-1%
29.7 µs
30 µs
test_dag_cbor_encode[roundtrip07.json]
pytests/test_dag_cbor.py::test_dag_cbor_encode[roundtrip07.json]
-1%
18.3 µs
18.5 µs
test_dag_cbor_decode_fixtures[dagpb_simple_forms_4]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[dagpb_simple_forms_4]
-1%
32.3 µs
32.7 µs
test_dag_cbor_decode_fixtures[garbage-20]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[garbage-20]
-1%
61.9 µs
62.6 µs
test_dag_cbor_encode[roundtrip10.json]
pytests/test_dag_cbor.py::test_dag_cbor_encode[roundtrip10.json]
-1%
21.9 µs
22.1 µs
test_dag_cbor_encode[roundtrip11.json]
pytests/test_dag_cbor.py::test_dag_cbor_encode[roundtrip11.json]
-1%
16.9 µs
17.1 µs
test_dag_cbor_decode[roundtrip27.json]
pytests/test_dag_cbor.py::test_dag_cbor_decode[roundtrip27.json]
-1%
19.2 µs
19.5 µs
test_dag_cbor_encode[roundtrip06.json]
pytests/test_dag_cbor.py::test_dag_cbor_encode[roundtrip06.json]
-1%
15.9 µs
16.1 µs
test_dag_cbor_decode_fixtures[int--6433713753386424]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[int--6433713753386424]
-1%
16.2 µs
16.4 µs
test_dag_cbor_decode_fixtures[cid-mapof]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[cid-mapof]
-1%
54 µs
54.7 µs
test_dag_cbor_decode[roundtrip23.json]
pytests/test_dag_cbor.py::test_dag_cbor_decode[roundtrip23.json]
-1%
18 µs
18.3 µs
test_dag_cbor_decode_fixtures[garbage-03]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[garbage-03]
-1%
69.2 µs
70.2 µs
test_dag_cbor_decode_fixtures[garbage-16]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[garbage-16]
-1%
78.1 µs
79.1 µs
test_dag_cbor_decode_fixtures[cid-bagyqcvraypzcitp3hsbtyyxhfyc3p7i3226lullm2rkzqsqqlhnxus7tqnea]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[cid-bagyqcvraypzcitp3hsbtyyxhfyc3p7i3226lullm2rkzqsqqlhnxus7tqnea]
-1%
20.3 µs
20.6 µs
test_dag_cbor_decode_fixtures[int--11959030306112471732]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[int--11959030306112471732]
-2%
16.3 µs
16.5 µs
test_dag_cbor_decode[roundtrip21.json]
pytests/test_dag_cbor.py::test_dag_cbor_decode[roundtrip21.json]
-2%
18 µs
18.3 µs
test_dag_cbor_encode[roundtrip17.json]
pytests/test_dag_cbor.py::test_dag_cbor_encode[roundtrip17.json]
-2%
16.7 µs
16.9 µs
test_dag_cbor_decode_fixtures[cid-zdpuAtX7ZibcWdSKQwiDCkPjWwRvtcKCPku9H7LhgA4qJW4Wk]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[cid-zdpuAtX7ZibcWdSKQwiDCkPjWwRvtcKCPku9H7LhgA4qJW4Wk]
-2%
20.9 µs
21.3 µs
test_dag_cbor_decode[roundtrip25.json]
pytests/test_dag_cbor.py::test_dag_cbor_decode[roundtrip25.json]
-2%
23.6 µs
24 µs
test_dag_cbor_decode_fixtures[garbage-14]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[garbage-14]
-2%
68.2 µs
69.4 µs
test_dag_cbor_decode_fixtures[cid-bahaacvrabdhd3fzrwaambazyivoiustl2bo2c3rgweo2ug4rogcoz2apaqaa]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[cid-bahaacvrabdhd3fzrwaambazyivoiustl2bo2c3rgweo2ug4rogcoz2apaqaa]
-2%
20.3 µs
20.6 µs
test_dag_cbor_decode_fixtures[garbage-07]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[garbage-07]
-2%
48 µs
48.9 µs
test_dag_cbor_decode[roundtrip15.json]
pytests/test_dag_cbor.py::test_dag_cbor_decode[roundtrip15.json]
-2%
17.5 µs
17.9 µs
test_dag_cbor_decode_fixtures[array-3,4,5,6]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[array-3,4,5,6]
-2%
17.9 µs
18.2 µs
test_dag_cbor_decode_fixtures[garbage-12]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[garbage-12]
-2%
31.5 µs
32.1 µs
test_dag_cbor_decode[roundtrip26.json]
pytests/test_dag_cbor.py::test_dag_cbor_decode[roundtrip26.json]
-2%
17.9 µs
18.3 µs
test_dag_cbor_decode[roundtrip08.json]
pytests/test_dag_cbor.py::test_dag_cbor_decode[roundtrip08.json]
-2%
17.6 µs
18 µs
test_dag_cbor_decode_fixtures[map-empty]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[map-empty]
-2%
16 µs
16.3 µs
test_dag_cbor_decode[roundtrip03.json]
pytests/test_dag_cbor.py::test_dag_cbor_decode[roundtrip03.json]
-2%
17.4 µs
17.8 µs
test_dag_cbor_decode[roundtrip11.json]
pytests/test_dag_cbor.py::test_dag_cbor_decode[roundtrip11.json]
-2%
17.4 µs
17.8 µs
test_dag_cbor_decode_fixtures[dagpb_simple_forms_2]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[dagpb_simple_forms_2]
-2%
34.6 µs
35.5 µs
test_dag_cbor_decode_fixtures[array-255]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[array-255]
-3%
17.8 µs
18.2 µs
test_dag_cbor_decode_fixtures[garbage-05]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[garbage-05]
-3%
66.3 µs
68.1 µs
test_dag_cbor_decode_fixtures[dagpb_Links_Hash_some_Tsize_zero]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[dagpb_Links_Hash_some_Tsize_zero]
-3%
29 µs
29.8 µs
test_dag_cbor_decode[roundtrip02.json]
pytests/test_dag_cbor.py::test_dag_cbor_decode[roundtrip02.json]
-3%
18.3 µs
18.8 µs
test_dag_cbor_decode[roundtrip01.json]
pytests/test_dag_cbor.py::test_dag_cbor_decode[roundtrip01.json]
-3%
18.2 µs
18.8 µs
test_dag_cbor_decode_fixtures[map-nested]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[map-nested]
-3%
28 µs
28.9 µs
test_dag_cbor_decode_fixtures[dagpb_Links_Hash_some]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[dagpb_Links_Hash_some]
-3%
27.4 µs
28.2 µs
test_dag_cbor_decode_fixtures[array-2]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[array-2]
-4%
17.7 µs
18.4 µs
test_dag_cbor_decode[roundtrip22.json]
pytests/test_dag_cbor.py::test_dag_cbor_decode[roundtrip22.json]
-4%
17.8 µs
18.5 µs
test_dag_cbor_decode[roundtrip04.json]
pytests/test_dag_cbor.py::test_dag_cbor_decode[roundtrip04.json]
-4%
17.4 µs
18.1 µs
test_dag_cbor_decode[roundtrip20.json]
pytests/test_dag_cbor.py::test_dag_cbor_decode[roundtrip20.json]
-4%
17.8 µs
18.5 µs
test_dag_cbor_decode_fixtures[garbage-11]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[garbage-11]
-4%
86.8 µs
90.8 µs
test_dag_cbor_decode_fixtures[dagpb_2link+data]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[dagpb_2link+data]
-6%
36.9 µs
39.2 µs
test_dag_cbor_decode_fixtures[dagpb_simple_forms_3]
pytests/test_dag_cbor.py::test_dag_cbor_decode_fixtures[dagpb_simple_forms_3]
-9%
33.9 µs
37.2 µs

Commits

Click on a commit to change the comparison range
base
main
9fb1353
+16%
Optimize array creation
6d428c8
8 months ago
by MarshalX
ResourcesHomePricingDocsBlogGitHubChangelog
Copyright © 2024 CodSpeed Technology SAS. All rights reserved.