Avatar for the aio-libs user
aio-libs
multidict
BlogDocsChangelog

Don't allocate new memory for htkeys on adding new item if the dict has deleted slots

#1200Merged
Comparing
asvetlov:shrink
(
11afd08
) with
master
(
af83fc3
)
CodSpeed Performance Gauge
-33%
Improvement
4
Regression
1
Untouched
236
Ignored
3

Benchmarks

244 total
test_multidict_getall_str_hit[ci-py]
tests/test_multidict_benchmarks.py
CodSpeed Performance Gauge
+39%
28.7 ms20.7 ms
test_cimultidict_getall_istr_hit[py]
tests/test_multidict_benchmarks.py
CodSpeed Performance Gauge
+39%
28.8 ms20.8 ms
test_cimultidict_getall_istr_miss[py]
tests/test_multidict_benchmarks.py
CodSpeed Performance Gauge
+30%
1.9 ms1.5 ms
test_multidict_getall_str_hit[cs-py]
tests/test_multidict_benchmarks.py
CodSpeed Performance Gauge
+25%
20.5 ms16.4 ms
test_multidict_getall_str_miss[ci-py]
tests/test_multidict_benchmarks.py
CodSpeed Performance Gauge
-33%
1.4 ms2.1 ms
test_keys_view_not_equals[cs-py]
tests/test_views_benchmarks.py
CodSpeed Performance Gauge
-5%
66 µs69.4 µs
test_items_view_not_equals[cs-py]
tests/test_views_benchmarks.py
CodSpeed Performance Gauge
-5%
65.9 µs69.2 µs
test_items_view_and[cs-py]
tests/test_views_benchmarks.py
CodSpeed Performance Gauge
-5%
993.2 µs1,041.7 µs
test_keys_view_not_equals[ci-py]
tests/test_views_benchmarks.py
CodSpeed Performance Gauge
-4%
72.6 µs76 µs
test_items_view_not_equals[ci-py]
tests/test_views_benchmarks.py
CodSpeed Performance Gauge
-4%
72.1 µs75.4 µs
test_multidict_getall_str_miss[cs-c]
tests/test_multidict_benchmarks.py
CodSpeed Performance Gauge
+4%
83.8 µs80.6 µs
test_multidict_get_miss[cs-py]
tests/test_multidict_benchmarks.py
CodSpeed Performance Gauge
-4%
371.1 µs385.3 µs
test_items_view_and[ci-py]
tests/test_views_benchmarks.py
CodSpeed Performance Gauge
-4%
1.2 ms1.3 ms
test_multidict_get_miss[ci-py]
tests/test_multidict_benchmarks.py
CodSpeed Performance Gauge
-3%
445.2 µs460.1 µs
test_cimultidict_get_istr_with_default_miss[py]
tests/test_multidict_benchmarks.py
CodSpeed Performance Gauge
-3%
459 µs474 µs
test_cimultidict_get_istr_miss[py]
tests/test_multidict_benchmarks.py
CodSpeed Performance Gauge
-3%
457.5 µs472.3 µs
test_values_view_repr[ci-c]
tests/test_views_benchmarks.py
CodSpeed Performance Gauge
-3%
64.6 µs66.5 µs
test_keys_view_is_disjoint[cs-py]
tests/test_views_benchmarks.py
CodSpeed Performance Gauge
-3%
518.2 µs533.1 µs
test_items_view_is_disjoint[cs-py]
tests/test_views_benchmarks.py
CodSpeed Performance Gauge
-3%
592.6 µs608.6 µs
test_keys_view_xor[cs-py]
tests/test_views_benchmarks.py
CodSpeed Performance Gauge
-3%
1.1 ms1.1 ms
test_keys_view_and[cs-py]
tests/test_views_benchmarks.py
CodSpeed Performance Gauge
-3%
530 µs543.9 µs
test_cimultidict_getall_istr_hit[c]
tests/test_multidict_benchmarks.py
CodSpeed Performance Gauge
+2%
826.6 µs806.5 µs
test_multidict_insert_str[cs-py]
tests/test_multidict_benchmarks.py
CodSpeed Performance Gauge
+2%
983.9 µs960.3 µs
test_keys_view_sub[cs-py]
tests/test_views_benchmarks.py
CodSpeed Performance Gauge
-2%
669.3 µs685.6 µs
test_keys_view_more[cs-py]
tests/test_views_benchmarks.py
CodSpeed Performance Gauge
+2%
243 µs237.5 µs

Commits

Click on a commit to change the comparison range
Base
master
af83fc3
-64.68%
Don't allocate new memory for htkeys on adding new item if the dict has deleted slots
4c53957
1 year ago
by asvetlov
×2.4
changelog
d195e25
1 year ago
by asvetlov
spelling
43c1a4f
1 year ago
by asvetlov
+26.47%
Merge branch 'master' into shrink
1b39333
1 year ago
by asvetlov
+32.58%
Update CHANGES/1200.feature.rst
5a8485b
1 year ago
by asvetlov
-34.97%
Update docs/spelling_wordlist.txt
6b9ff20
1 year ago
by asvetlov
+14.64%
Update CHANGES/1200.feature.rst
06717cb
1 year ago
by asvetlov
+30.17%
Update CHANGES/1200.feature.rst
1e6c2bc
1 year ago
by asvetlov
-38.33%
Merge branch 'master' into shrink
81acb6e
1 year ago
by asvetlov
+16.68%
Merge branch 'master' into shrink
2460aba
1 year ago
by asvetlov
-21.39%
Merge branch 'master' into shrink
11afd08
1 year ago
by asvetlov
© 2026 CodSpeed Technology
Home Terms Privacy Docs