LCOV - code coverage report
Current view: top level - Objects - dictobject.c (source / functions) Hit Total Coverage
Test: CPython lcov report Lines: 2285 2609 87.6 %
Date: 2022-07-07 18:19:46 Functions: 162 165 98.2 %

Function Name Sort by function name Hit count Sort by hit count
PyDict_GetItemString 0
_PyDict_DelItemId 0
_PyDict_NewPresized 0
_PyDict_DebugMallocStats 1
dictkeys_reversed 2
dictview_mapping 6
PyDict_Values 7
dict_values 7
dictitems_reversed 9
dictvalues_reversed 14
dictviews_or 25
dict___reversed___impl 26
_PyDictView_Intersect 29
dictviews_isdisjoint 29
dict_sizeof 34
dictiter_reduce 42
_PyDict_SizeOf 46
all_contained_in 93
dictitems_xor 105
dictview_richcompare 118
dictviews_xor 118
dictitems_contains 135
dictviews_sub 153
dictreviter_iternext 172
dictviews_to_set 191
dict_or 219
dictview_repr 501
_PyObject_MakeDictFromInstanceAttributes 576
PyDict_DelItemString 612
dict_ior 1225
_PyDict_ContainsId 1268
PyDict_Items 1397
dict_items 1397
_PyDict_Fini 3120
dictiter_traverse 3886
dict_repr 5722
dictview_traverse 5802
_PyDict_GetItemIdWithError 8292
_PyDict_SetItemId 10568
_PyDict_HasOnlyStringKeys 13577
dict_popitem_impl 19389
_PyDict_ClearFreeList 30840
_PyDict_Contains_KnownHash 38710
dictview_len 39500
_PyObject_IsInstanceDictEmpty 63142
PyDict_MergeFromSeq2 74475
dict_copy 80177
dict_init 88330
dict_fromkeys_impl 107821
_PyDict_FromKeys 107871
dictkeys_iter 112503
dictkeys_new 117082
_PyDict_SetItem_KnownHash 117935
dict_equal 122118
dict_richcompare 122481
dict_clear 130957
dict___contains__ 175896
_PyDict_DelItemIf 177173
estimate_log2_keysize 241825
make_dict_from_instance_attributes 247233
dict_vectorcall 262342
dictiter_len 274677
dictkeys_contains 284201
PyDict_Update 342067
dict_new 365139
dict_tp_clear 368057
dictvalues_iter 372030
dictvalues_new 376154
dict_setdefault_impl 419018
dict_iter 490586
PyObject_GenericGetDict 497358
dictitems_iter 615175
dictitems_new 618264
_PyDict_Pop_KnownHash 642378
_PyDictKeys_DecRef 664372
_PyDict_NewKeysForClass 681619
dict_pop_impl 772820
_PyDict_Pop 774244
_PyObject_ClearInstanceAttributes 851210
get_index_from_order 888681
_PyDict_GetItemHint 907564
PyDict_Keys 983729
dict_keys 983729
_PyDictView_New 1133520
dictview_dealloc 1133520
build_indices_generic 1208630
PyDict_GetItem 1298190
unicodekeys_lookup_generic 1365160
dictiter_iternextvalue 1414760
dictiter_dealloc 1590340
dictiter_new 1590340
dict_length 1860810
PyDict_Clear 1898000
PyDict_Size 2039390
_PyDict_GetItemWithError 2557170
PyDict_Copy 2617740
_PyDictKeys_GetVersionForCurrentState 3275510
clone_combined_dict_keys 3327170
_PyDict_KeysSize 3327200
delete_index_from_values 3377130
_PyDict_MergeEx 3412470
_PyDict_GetItemStringWithError 3624860
PyDict_SetItemString 3897750
new_dict_with_shared_keys 4338660
dict_ass_sub 4987780
dict_subscript 5242500
dict_update 5430510
PyDict_Merge 5484880
dict_update_common 5518840
dict_update_arg 5555080
dictiter_iternextkey 6534360
dictiter_iternextitem 7322090
_PyObject_StoreInstanceAttribute 7700960
insert_into_dictkeys 7700960
init_inline_values 8721090
_PyObject_FreeInstanceAttributes 8878440
dict_merge 9241220
build_indices_unicode 9388740
insertion_resize 10503400
_PyObject_InitializeDict 10529000
dictresize 10597400
calculate_log2_keysize 10745300
free_values 13056100
new_values 13062000
shared_keys_usable_size 15100800
dict_get_impl 18825700
insert_to_emptydict 19668900
_PyDict_FromItems 21274500
dict_new_presized 21274500
free_keys_object 23822900
PyDict_DelItem 25545700
_PyDict_DelItem_KnownHash 25567800
delitem_common 26220400
lookdict_index 26415500
new_keys_object 31095800
_PyDict_LoadGlobal 34888900
_PyDict_MaybeUntrack 38168200
PyDict_New 39665500
dictkeys_incref 46190500
new_dict 46984600
dict_dealloc 47273700
_PyObjectDict_SetItem 57668300
dictkeys_generic_lookup 58973800
PyDict_Next 60364100
_PyObject_GetInstanceAttribute 63073600
_PyDictKeys_StringLookup 66782900
dictkeys_decref 69946400
_PyDict_Next 77802600
dict_traverse 105582000
_PyObject_VisitInstanceAttributes 105863000
PyDict_SetDefault 112826000
find_empty_slot 134416000
PyDict_SetItem 138051000
insertdict 141099000
_PyDict_SetItem_Take2 154400000
get_dict_state 159510000
PyDict_GetItemWithError 243735000
dictkeys_set_index 320232000
_PyDict_CheckConsistency 401568000
_PyDict_GetItem_KnownHash 485606000
PyDict_Contains 558907000
_Py_dict_lookup 1648910000
unicodekeys_lookup_unicode 1663050000
unicode_get_hash 2498040000
dictkeys_get_index 3268330000

Generated by: LCOV version 1.14