Avatar for the MarshalX user
MarshalX
python-libipld
BlogDocsChangelog

Optimize dict set_item

#42Closed
Comparing
optimize-dict-set-item
(
d9ebeef
) with
main
(
0f7dec9
)
CodSpeed Performance Gauge
0%
Untouched
192

Benchmarks

192 total
test_dag_cbor_decode_fixtures[garbage-16]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+4%
76.3 µs73.7 µs
test_dag_cbor_decode_fixtures[cid-bafyreiejkvsvdq4smz44yuwhfymcuvqzavveoj2at3utujwqlllspsqr6q]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-3%
20.4 µs21.1 µs
test_dag_cbor_decode_fixtures[dagpb_11unnamedlinks+data]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+2%
69.5 µs67.8 µs
test_dag_cbor_decode_fixtures[cid-bafyreidj5idub6mapiupjwjsyyxhyhedxycv4vihfsicm2vt46o7morwlm]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-2%
21.1 µs21.5 µs
test_dag_cbor_decode_fixtures[cid-QmRgutAxd8t7oGkSm4wmeuByG6M51wcTso6cubDdQtuEfL]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+2%
21.1 µs20.8 µs
test_dag_cbor_decode_fixtures[int-11959030306112471731]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+2%
17.3 µs17 µs
test_dag_cbor_decode_fixtures[int--100]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+2%
17.7 µs17.4 µs
test_dag_cbor_decode_fixtures[cid-zdj7Wd8AMwqnhJGQCbFxBVodGSBG84TM7Hs1rcJuQMwTyfEDS]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+1%
21.5 µs21.2 µs
test_dag_cbor_decode_fixtures[garbage-18]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-1%
64 µs64.9 µs
test_dag_cbor_decode_fixtures[garbage-03]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+1%
63.3 µs62.6 µs
test_dag_cbor_decode_fixtures[cid-zdpuAtX7ZibcWdSKQwiDCkPjWwRvtcKCPku9H7LhgA4qJW4Wk]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-1%
21 µs21.3 µs
test_dag_cbor_decode_fixtures[string-long-8bit]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-1%
19.3 µs19.5 µs
test_dag_cbor_encode[roundtrip17.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+1%
18.4 µs18.3 µs
test_dag_cbor_decode_fixtures[garbage-12]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-1%
33.3 µs33.7 µs
test_dag_cbor_decode_fixtures[garbage-04]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+1%
43.5 µs43.1 µs
test_dag_cbor_decode_fixtures[dagpb_4namedlinks+data]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+1%
43.7 µs43.3 µs
test_dag_cbor_decode_real_data[twitter.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-1%
13.2 ms13.4 ms
test_dag_cbor_decode_real_data[github.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-1%
1.3 ms1.3 ms
test_dag_cbor_decode_fixtures[garbage-08]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+1%
37.1 µs36.8 µs
test_dag_cbor_decode[roundtrip03.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+1%
18.1 µs17.9 µs
test_dag_cbor_decode_fixtures[dagpb_simple_forms_2]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+1%
34.1 µs33.9 µs
test_dag_cbor_decode[roundtrip15.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-1%
18.1 µs18.2 µs
test_dag_cbor_decode[roundtrip01.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+1%
19.5 µs19.3 µs
test_dag_cbor_decode[roundtrip24.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-1%
18.6 µs18.7 µs

Commits

Click on a commit to change the comparison range
Base
main
0f7dec9
-0.07%
fix imports
596ea37
2 years ago
by MarshalX
+0.08%
optimize dict set_item
d9ebeef
1 year ago
by MarshalX
© 2026 CodSpeed Technology
Home Terms Privacy Docs