Posted to tcl by de at Tue Feb 27 16:51:27 GMT 2018view pretty
Canonical: Each sample counts as 0.01 seconds. % cumulative self self total time seconds seconds calls ms/call ms/call name 18.18 0.06 0.06 136296 0.00 0.00 TEBCresume 12.12 0.10 0.04 445352 0.00 0.00 TclFreeObj 9.09 0.13 0.03 273281 0.00 0.00 TclGetNamespaceForQualName 6.06 0.15 0.02 960717 0.00 0.00 CreateHashEntry 6.06 0.17 0.02 21 0.95 14.16 TclNRRunCallbacks 3.03 0.18 0.01 923270 0.00 0.00 TclThreadAllocObj 3.03 0.19 0.01 822653 0.00 0.00 FindHashEntry 3.03 0.20 0.01 169578 0.00 0.00 TclMaxListLength 3.03 0.21 0.01 169514 0.00 0.00 SetListFromAny 3.03 0.22 0.01 138416 0.00 0.00 HashStringKey 3.03 0.23 0.01 138291 0.00 0.00 TclPtrSetVarIdx 3.03 0.24 0.01 136544 0.00 0.00 Tcl_GetCommandFromObj 3.03 0.25 0.01 136383 0.00 0.00 TclObjLookupVarEx 3.03 0.26 0.01 136357 0.00 0.00 GetKeys 3.03 0.27 0.01 136299 0.00 0.00 TclNREvalObjv 3.03 0.28 0.01 136251 0.00 0.00 TclPushStackFrame 3.03 0.29 0.01 136237 0.00 0.00 TclNRExecuteByteCode 3.03 0.30 0.01 136217 0.00 0.00 InterpProcNR2 3.03 0.31 0.01 136217 0.00 0.00 TEOEx_ListCallback 3.03 0.32 0.01 686 0.01 0.02 Tcl_NewStringObj 3.03 0.33 0.01 94 0.11 0.29 Tcl_ListObjAppendElement 0.00 0.33 0.00 3906152 0.00 0.00 TclpGetAllocCache 0.00 0.33 0.00 1504183 0.00 0.00 TclIsSpaceProc [...] Tricky: Flat profile: Each sample counts as 0.01 seconds. % cumulative self self total time seconds seconds calls ms/call ms/call name 23.81 0.10 0.10 136296 0.00 0.00 TEBCresume 7.14 0.13 0.03 600416 0.00 0.00 TclpAlloc 7.14 0.16 0.03 136383 0.00 0.00 TclObjLookupVarEx 4.76 0.18 0.02 138291 0.00 0.00 TclPtrSetVarIdx 4.76 0.20 0.02 137066 0.00 0.00 TclGetNamespaceForQualName 4.76 0.22 0.02 136217 0.00 0.00 TclNRInterpProcCore 4.76 0.24 0.02 501 0.04 0.06 Tcl_AppendLimitedToObj 2.38 0.25 0.01 2307469 0.00 0.00 TclpGetAllocCache 2.38 0.26 0.01 597296 0.00 0.00 TclpFree 2.38 0.27 0.01 450339 0.00 0.00 Tcl_Alloc 2.38 0.28 0.01 409185 0.00 0.00 ExprObjCallback 2.38 0.29 0.01 374607 0.00 0.00 UnsetVarStruct 2.38 0.30 0.01 217995 0.00 0.00 TclpRealloc 2.38 0.31 0.01 136383 0.00 0.00 ObjFindNamespaceVar 2.38 0.32 0.01 136383 0.00 0.00 TclLookupSimpleVar 2.38 0.33 0.01 136327 0.00 0.00 Tcl_SetObjResult 2.38 0.34 0.01 136299 0.00 0.00 Dispatch 2.38 0.35 0.01 136225 0.00 0.00 GetNamespaceFromObj 2.38 0.36 0.01 136217 0.00 0.00 TclDeleteCompiledLocalVars 2.38 0.37 0.01 136217 0.00 0.00 TclPushProcCallFrame 2.38 0.38 0.01 321 0.03 0.03 Tcl_NewObj 2.38 0.39 0.01 305 0.03 0.03 Tcl_GetStringFromObj 2.38 0.40 0.01 21 0.48 18.23 TclNRRunCallbacks 2.38 0.41 0.01 6 1.67 2.57 Tcl_Release 2.38 0.42 0.01 Tcl_NRCallObjProc 0.00 0.42 0.00 746940 0.00 0.00 Ptr2Block 0.00 0.42 0.00 650458 0.00 0.00 TclpThreadGetMasterTSD [...]