Skip to content

Instantly share code, notes, and snippets.

@mdboom
Created November 12, 2024 20:30
Show Gist options
  • Save mdboom/557da65fd7c122b4b3741ab6c37cff87 to your computer and use it in GitHub Desktop.
Save mdboom/557da65fd7c122b4b3741ab6c37cff87 to your computer and use it in GitHub Desktop.

313-docbuild

percentage object symbol category
27.43% python _PyEval_EvalFrameDefault interpreter
11.89% python gc_collect_main gc
2.83% python sre_ucs1_match library
2.46% python unicodekeys_lookup_unicode lookup
2.39% python _PyType_LookupRef lookup
2.33% python _PyObject_Malloc memory
2.04% python _PyObject_Free memory
1.94% python _PyObject_GenericGetAttrWithDict dynamic
1.76% python visit_decref gc
1.47% python _PyFrame_ClearExceptCode interpreter
1.43% python _Py_dict_lookup lookup
1.24% python visit_reachable gc
0.88% python initialize_locals interpreter
0.85% python dict_traverse gc
0.79% python sre_ucs1_charset.constprop.0 library
0.78% python PyType_IsSubtype dynamic
0.72% python _PyObject_GetMethod dynamic
0.68% python _PyObject_TryGetInstanceAttribute dynamic
0.66% libc.so.6 __memmove_avx_unaligned_erms libc
0.63% python tupledealloc memory
0.55% python _PyEval_FrameClearAndPop interpreter
0.54% python _PyObject_GC_New gc
0.52% python PyObject_GC_Del gc
0.52% python list_dealloc memory
0.51% python PyDict_GetItemRef dict
0.51% libc.so.6 __memset_avx2_unaligned_erms libc
0.47% python PyObject_GetAttr dynamic
0.45% python unicode_repr str
0.45% python _PyEvalFramePushAndInit interpreter
0.45% python PyUnicode_Format str
0.44% python dict_dealloc memory
0.43% python PyObject_GC_UnTrack gc
0.41% python _Py_Dealloc memory
0.41% python _PyDict_MaybeUntrack gc
0.39% libc.so.6 _int_malloc libc
0.38% python PyObject_IS_GC gc
0.37% python object_isinstance dynamic
0.36% python PyObject_GetOptionalAttr dynamic
0.36% python _PyObject_GC_Link gc
0.36% python _PyLong_Subtract int
0.35% _pickle.cpython-313-x86_64-linux-gnu.so save.constprop.0 library
0.35% python _Py_NewReference memory
0.35% python list_traverse gc
0.34% python gen_dealloc memory
0.33% python _sre_SRE_Pattern_match library
0.32% python _PyType_GetDict dynamic
0.32% python sre_ucs1_count library
0.31% python PyType_GenericAlloc memory
0.30% python _PyObject_GC_NewVar gc
0.29% python getset_get dynamic
0.28% python split str
0.28% python _copy_characters.part.0.constprop.0.isra.0 str
0.28% python tuple_alloc memory
0.26% python _PyObject_Realloc memory
0.26% python insertdict dict
0.25% python _PyUnicode_JoinArray.part.0 str
0.25% python _PyThreadState_PopFrame interpreter

Categories

interpreter

31.58% total

percentage object symbol
27.43% python _PyEval_EvalFrameDefault
1.47% python _PyFrame_ClearExceptCode
0.88% python initialize_locals
0.55% python _PyEval_FrameClearAndPop
0.45% python _PyEvalFramePushAndInit
0.25% python _PyThreadState_PopFrame

gc

19.40% total

percentage object symbol
11.89% python gc_collect_main
1.76% python visit_decref
1.24% python visit_reachable
0.85% python dict_traverse
0.54% python _PyObject_GC_New
0.52% python PyObject_GC_Del
0.43% python PyObject_GC_UnTrack
0.41% python _PyDict_MaybeUntrack
0.38% python PyObject_IS_GC
0.36% python _PyObject_GC_Link
0.35% python list_traverse
0.30% python _PyObject_GC_NewVar

memory

10.28% total

percentage object symbol
2.33% python _PyObject_Malloc
2.04% python _PyObject_Free
0.63% python tupledealloc
0.52% python list_dealloc
0.44% python dict_dealloc
0.41% python _Py_Dealloc
0.35% python _Py_NewReference
0.34% python gen_dealloc
0.31% python PyType_GenericAlloc
0.28% python tuple_alloc
0.26% python _PyObject_Realloc

dynamic

9.65% total

percentage object symbol
1.94% python _PyObject_GenericGetAttrWithDict
0.78% python PyType_IsSubtype
0.72% python _PyObject_GetMethod
0.68% python _PyObject_TryGetInstanceAttribute
0.47% python PyObject_GetAttr
0.37% python object_isinstance
0.36% python PyObject_GetOptionalAttr
0.32% python _PyType_GetDict
0.29% python getset_get

lookup

6.78% total

percentage object symbol
2.46% python unicodekeys_lookup_unicode
2.39% python _PyType_LookupRef
1.43% python _Py_dict_lookup

library

5.92% total

percentage object symbol
2.83% python sre_ucs1_match
0.79% python sre_ucs1_charset.constprop.0
0.35% _pickle.cpython-313-x86_64-linux-gnu.so save.constprop.0
0.33% python _sre_SRE_Pattern_match
0.32% python sre_ucs1_count

str

3.62% total

percentage object symbol
0.45% python unicode_repr
0.45% python PyUnicode_Format
0.28% python split
0.28% python _copy_characters.part.0.constprop.0.isra.0
0.25% python _PyUnicode_JoinArray.part.0

unknown

2.96% total

percentage object symbol

libc

2.33% total

percentage object symbol
0.66% libc.so.6 __memmove_avx_unaligned_erms
0.51% libc.so.6 __memset_avx2_unaligned_erms
0.39% libc.so.6 _int_malloc

dict

2.10% total

percentage object symbol
0.51% python PyDict_GetItemRef
0.26% python insertdict

int

1.13% total

percentage object symbol
0.36% python _PyLong_Subtract

exceptions

1.07% total

percentage object symbol

list

0.99% total

percentage object symbol

tuple

0.88% total

percentage object symbol

miscobj

0.86% total

percentage object symbol

calls

0.41% total

percentage object symbol

compiler

0.02% total

percentage object symbol

import

0.01% total

percentage object symbol

gil

0.01% total

percentage object symbol

float

0.00% total

percentage object symbol

main-docbuild

percentage object symbol category
30.08% python gc_collect_region gc
14.73% python _PyEval_EvalFrameDefault interpreter
8.45% python visit_add_to_container gc
5.62% python visit_decref gc
5.51% python visit_reachable gc
3.53% python _PyGC_Collect gc
3.35% python dict_traverse gc
2.55% python list_traverse gc
1.23% python sre_ucs1_match library
1.17% python unicodekeys_lookup_unicode lookup
1.10% python _PyType_LookupRef lookup
1.08% python _PyObject_Malloc memory
0.99% python PyObject_VisitManagedDict dynamic
0.88% python _PyObject_Free memory
0.86% python _PyObject_GenericGetAttrWithDict dynamic
0.67% python _PyFrame_ClearExceptCode interpreter
0.60% python _Py_dict_lookup lookup
0.53% python subtype_traverse gc
0.39% python _PyObject_TryGetInstanceAttribute dynamic
0.37% python PyType_IsSubtype dynamic
0.36% python initialize_locals interpreter
0.35% python sre_ucs1_charset.constprop.0 library
0.30% libc.so.6 __memmove_avx_unaligned_erms libc
0.26% python _PyEval_FrameClearAndPop interpreter
0.25% python tuple_dealloc memory

Categories

gc

61.03% total

percentage object symbol
30.08% python gc_collect_region
8.45% python visit_add_to_container
5.62% python visit_decref
5.51% python visit_reachable
3.53% python _PyGC_Collect
3.35% python dict_traverse
2.55% python list_traverse
0.53% python subtype_traverse

interpreter

16.61% total

percentage object symbol
14.73% python _PyEval_EvalFrameDefault
0.67% python _PyFrame_ClearExceptCode
0.36% python initialize_locals
0.26% python _PyEval_FrameClearAndPop

dynamic

5.13% total

percentage object symbol
0.99% python PyObject_VisitManagedDict
0.86% python _PyObject_GenericGetAttrWithDict
0.39% python _PyObject_TryGetInstanceAttribute
0.37% python PyType_IsSubtype

memory

4.47% total

percentage object symbol
1.08% python _PyObject_Malloc
0.88% python _PyObject_Free
0.25% python tuple_dealloc

lookup

3.05% total

percentage object symbol
1.17% python unicodekeys_lookup_unicode
1.10% python _PyType_LookupRef
0.60% python _Py_dict_lookup

library

2.61% total

percentage object symbol
1.23% python sre_ucs1_match
0.35% python sre_ucs1_charset.constprop.0

str

1.66% total

percentage object symbol

unknown

1.51% total

percentage object symbol

libc

1.03% total

percentage object symbol
0.30% libc.so.6 __memmove_avx_unaligned_erms

dict

0.85% total

percentage object symbol

int

0.45% total

percentage object symbol

list

0.43% total

percentage object symbol

miscobj

0.35% total

percentage object symbol

tuple

0.32% total

percentage object symbol

exceptions

0.31% total

percentage object symbol

calls

0.18% total

percentage object symbol

import

0.01% total

percentage object symbol

compiler

0.01% total

percentage object symbol

gil

0.00% total

percentage object symbol

float

0.00% total

percentage object symbol

mark-docbuild

percentage object symbol category
28.44% python _PyEval_EvalFrameDefault interpreter
7.99% python visit_add_to_container gc
5.78% python mark_global_roots unknown
5.17% python gc_collect_region.constprop.0 gc
2.39% python sre_ucs1_match library
2.26% python unicodekeys_lookup_unicode lookup
2.18% python _PyObject_Malloc memory
2.05% python _PyType_LookupRef lookup
1.96% python dict_traverse gc
1.73% python _PyObject_GenericGetAttrWithDict dynamic
1.54% python _PyObject_Free memory
1.31% python _PyFrame_ClearExceptCode interpreter
1.14% python _Py_dict_lookup lookup
1.04% python _PyGC_Collect gc
0.84% python list_traverse gc
0.78% python PyType_IsSubtype dynamic
0.77% python _PyObject_TryGetInstanceAttribute dynamic
0.71% python visit_decref gc
0.70% python initialize_locals interpreter
0.64% python sre_ucs1_charset.constprop.0 library
0.57% libc.so.6 __memmove_avx_unaligned_erms libc
0.50% python _PyEval_FrameClearAndPop interpreter
0.47% python PyObject_GC_UnTrack gc
0.47% python tuple_dealloc memory
0.47% python PyObject_GetAttr dynamic
0.46% python _PyObject_GC_New gc
0.44% python _PyObject_GetMethod dynamic
0.43% python list_dealloc memory
0.42% libc.so.6 __memset_avx2_unaligned_erms libc
0.41% python PyDict_GetItemRef dict
0.41% python _PyEvalFramePushAndInit interpreter
0.39% python PyObject_GC_Del gc
0.39% python gen_dealloc memory
0.39% python PyObject_VisitManagedDict dynamic
0.37% python PyUnicode_Format str
0.36% python unicode_repr str
0.35% _pickle.cpython-314-x86_64-linux-gnu.so save.constprop.0 library
0.34% python dict_dealloc memory
0.33% python _PyObject_GC_Link gc
0.33% python _sre_SRE_Pattern_match library
0.31% python object_isinstance dynamic
0.31% libc.so.6 _int_malloc libc
0.30% python PyObject_GetOptionalAttr dynamic
0.27% python _Py_Dealloc memory
0.26% python _PyType_GetDict dynamic
0.26% python split str
0.26% python _copy_characters.part.0.constprop.0.isra.0 str
0.26% python _PyLong_Subtract int
0.26% python _PyObject_GC_NewVar gc
0.26% python subtype_traverse gc

Categories

interpreter

32.09% total

percentage object symbol
28.44% python _PyEval_EvalFrameDefault
1.31% python _PyFrame_ClearExceptCode
0.70% python initialize_locals
0.50% python _PyEval_FrameClearAndPop
0.41% python _PyEvalFramePushAndInit

gc

20.30% total

percentage object symbol
7.99% python visit_add_to_container
5.17% python gc_collect_region.constprop.0
1.96% python dict_traverse
1.04% python _PyGC_Collect
0.84% python list_traverse
0.71% python visit_decref
0.47% python PyObject_GC_UnTrack
0.46% python _PyObject_GC_New
0.39% python PyObject_GC_Del
0.33% python _PyObject_GC_Link
0.26% python _PyObject_GC_NewVar
0.26% python subtype_traverse

unknown

8.79% total

percentage object symbol
5.78% python mark_global_roots

dynamic

8.64% total

percentage object symbol
1.73% python _PyObject_GenericGetAttrWithDict
0.78% python PyType_IsSubtype
0.77% python _PyObject_TryGetInstanceAttribute
0.47% python PyObject_GetAttr
0.44% python _PyObject_GetMethod
0.39% python PyObject_VisitManagedDict
0.31% python object_isinstance
0.30% python PyObject_GetOptionalAttr
0.26% python _PyType_GetDict

memory

8.55% total

percentage object symbol
2.18% python _PyObject_Malloc
1.54% python _PyObject_Free
0.47% python tuple_dealloc
0.43% python list_dealloc
0.39% python gen_dealloc
0.34% python dict_dealloc
0.27% python _Py_Dealloc

lookup

5.88% total

percentage object symbol
2.26% python unicodekeys_lookup_unicode
2.05% python _PyType_LookupRef
1.14% python _Py_dict_lookup

library

5.13% total

percentage object symbol
2.39% python sre_ucs1_match
0.64% python sre_ucs1_charset.constprop.0
0.35% _pickle.cpython-314-x86_64-linux-gnu.so save.constprop.0
0.33% python _sre_SRE_Pattern_match

str

3.21% total

percentage object symbol
0.37% python PyUnicode_Format
0.36% python unicode_repr
0.26% python split
0.26% python _copy_characters.part.0.constprop.0.isra.0

libc

2.00% total

percentage object symbol
0.57% libc.so.6 __memmove_avx_unaligned_erms
0.42% libc.so.6 __memset_avx2_unaligned_erms
0.31% libc.so.6 _int_malloc

dict

1.49% total

percentage object symbol
0.41% python PyDict_GetItemRef

int

0.89% total

percentage object symbol
0.26% python _PyLong_Subtract

list

0.79% total

percentage object symbol

miscobj

0.70% total

percentage object symbol

tuple

0.62% total

percentage object symbol

exceptions

0.58% total

percentage object symbol

calls

0.31% total

percentage object symbol

compiler

0.02% total

percentage object symbol

import

0.02% total

percentage object symbol

gil

0.00% total

percentage object symbol

float

0.00% total

percentage object symbol
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment