Below are some profiling numbers for interp creation in 9.1 commit 1f8820038f.
This is subsequent to DKF's conversion of TclOO init scripts to C. The good
news is that initialization of TclOO has gone from 70% of Tcl_CreateInterp
time in 9.0.2 to 25%. Doing lazy initialization of TclOO will shave that off
too but of course the price will be paid later on actual use. It is not
clear that is worthwhile until further slow paths are explored.
To that end below are two tables that profile interp creation. Note that the profiling was done without deleting the created interpreters and consequently memory allocation overhead is more than if interps were deleted allowing reuse of the free block cache. That scenario is still to be measured.
The most obvious path to further reduce time is of course to move more script based initialization to C.
Functions taking more than 1% internal execution time of interp creation
| Function Name | Total CPU [unit, %] | Self CPU [unit, %] | Module |
|---|---|---|---|
| | - CreateHashEntry | 315 (15.77%) | 202 (10.12%) | tcl91 |
| | - Tcl_ParseBraces | 148 (7.41%) | 141 (7.06%) | tcl91 |
| | - TclpAlloc | 335 (16.78%) | 85 (4.26%) | tcl91 |
| | - [External Call] | |||
| RtlpAllocateHeapInternal | 83 (4.16%) | 83 (4.16%) | ntdll |
| | - UtfToUtfProc | 78 (3.91%) | 77 (3.86%) | tcl91 |
| | - TclCompileScript | 543 (27.19%) | 72 (3.61%) | tcl91 |
| | - GetBlocks | 242 (12.12%) | 66 (3.30%) | tcl91 |
| | - 0xfffff8002720d66d | 64 (3.20%) | 64 (3.20%) | [Unknown Code] |
| | - 0xfffff80027211505 | 63 (3.15%) | 63 (3.15%) | [Unknown Code] |
| | - 0xfffff8002720d624 | 48 (2.40%) | 48 (2.40%) | [Unknown Code] |
| | - Tcl_Char16ToUtfDString | 88 (4.41%) | 38 (1.90%) | tcl91 |
| | - [External Call] | |||
| memcpy | 35 (1.75%) | 35 (1.75%) | vcruntime140 |
| | - TclGetNamespaceForQualName | 118 (5.91%) | 31 (1.55%) | tcl91 |
| | - TclCompileTokens | 149 (7.46%) | 30 (1.50%) | tcl91 |
| | - TclRegisterLiteral | 54 (2.70%) | 29 (1.45%) | tcl91 |
| | - TclReleaseLiteral | 46 (2.30%) | 25 (1.25%) | tcl91 |
| | - TclThreadAllocObj | 36 (1.80%) | 21 (1.05%) | tcl91 |
| | - Tcl_UniCharToUtf | 22 (1.10%) | 21 (1.05%) | tcl91 |
| | - TclHashStringKey | 20 (1.00%) | 20 (1.00%) | tcl91 |
** Call tree showing from where the hotspot functions are called**
| Function Name | Total CPU [unit, %] | Self CPU [unit, %] | Module |
|---|---|---|---|
| + ChildCreate | 1888 (94.54%) | 0 (0.00%) | tcl91 |
| | + Tcl_Init | 1213 (60.74%) | 0 (0.00%) | tcl91 |
| || + TclEvalEx | 1212 (60.69%) | 0 (0.00%) | tcl91 |
| ||| + TclNRRunCallbacks | 1174 (58.79%) | 3 (0.15%) | tcl91 |
| |||| + TclNRSourceObjCmd | 472 (23.64%) | 0 (0.00%) | tcl91 |
| ||||| + TclNREvalFile | 472 (23.64%) | 0 (0.00%) | tcl91 |
| |||||| + TclNREvalObjEx | 257 (12.87%) | 0 (0.00%) | tcl91 |
| ||||||| + TclCompileObj | 257 (12.87%) | 0 (0.00%) | tcl91 |
| |||||||| + TclSetByteCodeFromAny | 257 (12.87%) | 0 (0.00%) | tcl91 |
| ||||||||| + TclCompileScript | 233 (11.67%) | 45 (2.25%) | tcl91 |
| |||||||||| + Tcl_ParseCommand | 96 (4.81%) | 1 (0.05%) | tcl91 |
| ||||||||||| - Tcl_ParseBraces | 84 (4.21%) | 78 (3.91%) | tcl91 |
| ||||||||||| - ParseComment | 10 (0.50%) | 10 (0.50%) | tcl91 |
| ||||||||||| - ParseTokens | 1 (0.05%) | 1 (0.05%) | tcl91 |
| |||||||||| + CompileCommandTokens | 92 (4.61%) | 0 (0.00%) | tcl91 |
| ||||||||||| + TclCompileInvocation | 58 (2.90%) | 1 (0.05%) | tcl91 |
| |||||||||||| - TclCompileTokens | 40 (2.00%) | 26 (1.30%) | tcl91 |
| |||||||||||| - TclRegisterLiteral | 16 (0.80%) | 6 (0.30%) | tcl91 |
| |||||||||||| - TclEmitInvoke | 1 (0.05%) | 0 (0.00%) | tcl91 |
| ||||||||||| - CompileCmdCompileProc | 26 (1.30%) | 0 (0.00%) | tcl91 |
| ||||||||||| - TclWordKnownAtCompileTime | 4 (0.20%) | 0 (0.00%) | tcl91 |
| ||||||||||| - Tcl_GetCommandFromObj | 2 (0.10%) | 0 (0.00%) | tcl91 |
| ||||||||||| - EnterCmdWordData | 2 (0.10%) | 2 (0.10%) | tcl91 |
| ||||||||| - TclOptimizeBytecode | 18 (0.90%) | 1 (0.05%) | tcl91 |
| ||||||||| - CreateHashEntry | 4 (0.20%) | 4 (0.20%) | tcl91 |
| ||||||||| - TclInitByteCode | 2 (0.10%) | 1 (0.05%) | tcl91 |
| |||||| + Tcl_FSOpenFileChannel | 121 (6.06%) | 0 (0.00%) | tcl91 |
| ||||||| + ZipChannelOpen | 120 (6.01%) | 1 (0.05%) | tcl91 |
| |||||||| - InitReadableChannel | 117 (5.86%) | 0 (0.00%) | tcl91 |
| |||||||| - _snprintf | 1 (0.05%) | 0 (0.00%) | tcl91 |
| |||||||| - Tcl_GetEncoding | 1 (0.05%) | 0 (0.00%) | tcl91 |
| ||||||| - TclGetOpenMode | 1 (0.05%) | 1 (0.05%) | tcl91 |
| |||||| + Tcl_ReadChars | 89 (4.46%) | 0 (0.00%) | tcl91 |
| ||||||| + DoReadChars | 89 (4.46%) | 1 (0.05%) | tcl91 |
| |||||||| + ReadChars | 88 (4.41%) | 0 (0.00%) | tcl91 |
| ||||||||| + UtfToUtfProc | 78 (3.91%) | 77 (3.86%) | tcl91 |
| |||||||||| - [System Code] | |||
| 0xfffff800271ff671 | 1 (0.05%) | 1 (0.05%) | [Unknown Code] |
| ||||||||| - AppendUtfToUtfRep | 6 (0.30%) | 2 (0.10%) | tcl91 |
| ||||||||| - TranslateInputEOL | 3 (0.15%) | 0 (0.00%) | tcl91 |
| ||||||||| - SetStringFromAny | 1 (0.05%) | 0 (0.00%) | tcl91 |
| |||||| - TclClose | 2 (0.10%) | 0 (0.00%) | tcl91 |
| |||||| - Tcl_SetChannelOption | 2 (0.10%) | 1 (0.05%) | tcl91 |
| |||||| - TclPkgFileSeen | 1 (0.05%) | 0 (0.00%) | tcl91 |
| |||| + NRInterpProc | 176 (8.81%) | 0 (0.00%) | tcl91 |
| ||||| + TclPushProcCallFrame | 176 (8.81%) | 0 (0.00%) | tcl91 |
| |||||| + TclProcCompileProc | 176 (8.81%) | 1 (0.05%) | tcl91 |
| ||||||| + TclSetByteCodeFromAny | 175 (8.76%) | 1 (0.05%) | tcl91 |
| |||||||| + TclCompileScript | 131 (6.56%) | 5 (0.25%) | tcl91 |
| ||||||||| + CompileCommandTokens | 122 (6.11%) | 0 (0.00%) | tcl91 |
| |||||||||| + CompileCmdCompileProc | 118 (5.91%) | 1 (0.05%) | tcl91 |
| ||||||||||| + TclAttemptCompileProc | 117 (5.86%) | 0 (0.00%) | tcl91 |
| |||||||||||| - TclCompileForeachCmd | 56 (2.80%) | 0 (0.00%) | tcl91 |
| |||||||||||| - TclCompileIfCmd | 56 (2.80%) | 0 (0.00%) | tcl91 |
| |||||||||||| - TclCompileAppendCmd | 2 (0.10%) | 0 (0.00%) | tcl91 |
| |||||||||||| - TclCompileGlobalCmd | 2 (0.10%) | 0 (0.00%) | tcl91 |
| |||||||||||| - TclCompileErrorCmd | 1 (0.05%) | 0 (0.00%) | tcl91 |
| |||||||||| - Tcl_GetCommandFromObj | 2 (0.10%) | 0 (0.00%) | tcl91 |
| |||||||||| - EnterCmdWordData | 2 (0.10%) | 1 (0.05%) | tcl91 |
| ||||||||| - Tcl_ParseCommand | 4 (0.20%) | 2 (0.10%) | tcl91 |
| |||||||| - TclOptimizeBytecode | 40 (2.00%) | 0 (0.00%) | tcl91 |
| |||||||| - TclInitByteCode | 3 (0.15%) | 0 (0.00%) | tcl91 |
| |||| + TEBCresume | 136 (6.81%) | 17 (0.85%) | tcl91 |
| ||||| + TclCallVarTraces | 67 (3.36%) | 0 (0.00%) | tcl91 |
| |||||| + EnvTraceProc | 66 (3.30%) | 0 (0.00%) | tcl91 |
| ||||||| + TclGetEnv | 66 (3.30%) | 0 (0.00%) | tcl91 |
| |||||||| + TclpFindVariable | 65 (3.25%) | 2 (0.10%) | tcl91 |
| ||||||||| - Tcl_Char16ToUtfDString | 45 (2.25%) | 20 (1.00%) | tcl91 |
| ||||||||| - Tcl_UtfToUpper | 15 (0.75%) | 2 (0.10%) | tcl91 |
| ||||||||| - [External Call] | |||
| __p__wenviron | 3 (0.15%) | 3 (0.15%) | ucrtbase |
| |||||||| - Tcl_MutexLock | 1 (0.05%) | 1 (0.05%) | tcl91 |
| |||||| - CreateHashEntry | 1 (0.05%) | 1 (0.05%) | tcl91 |
| ||||| - TclCompileObj | 24 (1.20%) | 0 (0.00%) | tcl91 |
| ||||| - TclObjLookupVarEx | 8 (0.40%) | 4 (0.20%) | tcl91 |
| ||||| - TclFreeObj | 4 (0.20%) | 0 (0.00%) | tcl91 |
| ||||| - Tcl_DictObjPutKeyList | 3 (0.15%) | 0 (0.00%) | tcl91 |
| ||||| - TclStringCat | 2 (0.10%) | 0 (0.00%) | tcl91 |
| ||||| - TclStringCmp | 2 (0.10%) | 1 (0.05%) | tcl91 |
| ||||| - Tcl_GetCommandFromObj | 1 (0.05%) | 0 (0.00%) | tcl91 |
| ||||| - Tcl_GetReturnOptions | 1 (0.05%) | 0 (0.00%) | tcl91 |
| ||||| - TclNREvalObjv | 1 (0.05%) | 0 (0.00%) | tcl91 |
| ||||| - TclThreadFreeObj | 1 (0.05%) | 0 (0.00%) | tcl91 |
| ||||| - [System Code] | |||
| 0xfffff800271ffdd7 | 1 (0.05%) | 1 (0.05%) | [Unknown Code] |
| ||||| - __security_check_cookie | 1 (0.05%) | 1 (0.05%) | tcl91 |
| ||||| - GetSrcInfoForPc | 1 (0.05%) | 1 (0.05%) | tcl91 |
| ||||| - Tcl_SetObjResult | 1 (0.05%) | 1 (0.05%) | tcl91 |
| ||||| - TclObjGetFrame | 1 (0.05%) | 1 (0.05%) | tcl91 |
| |||| + NRNamespaceEvalCmd | 98 (4.91%) | 0 (0.00%) | tcl91 |
| ||||| - TclNREvalObjEx | 97 (4.86%) | 0 (0.00%) | tcl91 |
| ||||| - GetNamespaceFromObj | 1 (0.05%) | 0 (0.00%) | tcl91 |
| |||| + IfConditionCallback | 58 (2.90%) | 0 (0.00%) | tcl91 |
| ||||| + TclNREvalObjEx | 58 (2.90%) | 0 (0.00%) | tcl91 |
| |||||| + TclCompileObj | 58 (2.90%) | 0 (0.00%) | tcl91 |
| ||||||| + TclSetByteCodeFromAny | 58 (2.90%) | 0 (0.00%) | tcl91 |
| |||||||| + TclCompileScript | 53 (2.65%) | 9 (0.45%) | tcl91 |
| ||||||||| + CompileCommandTokens | 23 (1.15%) | 0 (0.00%) | tcl91 |
| |||||||||| - TclCompileInvocation | 13 (0.65%) | 0 (0.00%) | tcl91 |
| |||||||||| - CompileCmdCompileProc | 7 (0.35%) | 0 (0.00%) | tcl91 |
| |||||||||| - Tcl_GetCommandFromObj | 1 (0.05%) | 0 (0.00%) | tcl91 |
| |||||||||| - TclFreeObj | 1 (0.05%) | 0 (0.00%) | tcl91 |
| |||||||||| - EnterCmdWordData | 1 (0.05%) | 1 (0.05%) | tcl91 |
| ||||||||| + Tcl_ParseCommand | 20 (1.00%) | 0 (0.00%) | tcl91 |
| |||||||||| - Tcl_ParseBraces | 20 (1.00%) | 20 (1.00%) | tcl91 |
| ||||||||| - [System Code] | |||
| 0xfffff800271ff671 | 1 (0.05%) | 1 (0.05%) | [Unknown Code] |
| |||||||| - TclOptimizeBytecode | 4 (0.20%) | 0 (0.00%) | tcl91 |
| |||||||| - PreventCycle | 1 (0.05%) | 1 (0.05%) | tcl91 |
| |||| - Tcl_ProcObjCmd | 48 (2.40%) | 0 (0.00%) | tcl91 |
| |||| - EvalFileCallback | 39 (1.95%) | 0 (0.00%) | tcl91 |
| |||| - TclNRApplyObjCmd | 36 (1.80%) | 0 (0.00%) | tcl91 |
| |||| - PathDirNameCmd | 23 (1.15%) | 0 (0.00%) | tcl91 |
| |||| - TclNRIfObjCmd | 23 (1.15%) | 0 (0.00%) | tcl91 |
| |||| - PathJoinCmd | 11 (0.55%) | 0 (0.00%) | tcl91 |
| |||| - InterpProcNR2 | 10 (0.50%) | 0 (0.00%) | tcl91 |
| |||| - EachloopCmd | 10 (0.50%) | 1 (0.05%) | tcl91 |
| |||| - TclNamespaceEnsembleCmd | 5 (0.25%) | 0 (0.00%) | tcl91 |
| |||| - EvalObjvCore | 5 (0.25%) | 3 (0.15%) | tcl91 |
| |||| - CheckAccess | 4 (0.20%) | 0 (0.00%) | tcl91 |
| |||| - TclNRReleaseValues | 3 (0.15%) | 0 (0.00%) | tcl91 |
| |||| - TclNRPackageObjCmd | 3 (0.15%) | 1 (0.05%) | tcl91 |
| |||| - PkgRequireCoreFinal | 2 (0.10%) | 1 (0.05%) | tcl91 |
| |||| - EncodingDirsObjCmd | 1 (0.05%) | 0 (0.00%) | tcl91 |
| |||| - InfoNameOfExecutableCmd | 1 (0.05%) | 0 (0.00%) | tcl91 |
| |||| - NRNamespaceInscopeCmd | 1 (0.05%) | 0 (0.00%) | tcl91 |
| |||| - PkgRequireCore | 1 (0.05%) | 0 (0.00%) | tcl91 |
| |||| - TclNREvalObjCmd | 1 (0.05%) | 0 (0.00%) | tcl91 |
| |||| - TclNRInterpProcCore | 1 (0.05%) | 0 (0.00%) | tcl91 |
| |||| - ZipFSTclLibraryObjCmd | 1 (0.05%) | 0 (0.00%) | tcl91 |
| |||| - NRInterpCmd | 1 (0.05%) | 1 (0.05%) | tcl91 |
| |||| - Tcl_VariableObjCmd | 1 (0.05%) | 1 (0.05%) | tcl91 |
| ||| + Tcl_ParseCommand | 20 (1.00%) | 0 (0.00%) | tcl91 |
| |||| + Tcl_ParseBraces | 20 (1.00%) | 19 (0.95%) | tcl91 |
| ||||| + TclParseBackslash | 1 (0.05%) | 0 (0.00%) | tcl91 |
| |||||| - [External Call] | |||
| isdigit | 1 (0.05%) | 1 (0.05%) | ucrtbase |
| ||| + TclSubstTokens | 15 (0.75%) | 1 (0.05%) | tcl91 |
| |||| - Tcl_NewStringObj | 9 (0.45%) | 0 (0.00%) | tcl91 |
| |||| - Tcl_AppendLimitedToObj | 4 (0.20%) | 0 (0.00%) | tcl91 |
| |||| - TclpAlloc | 1 (0.05%) | 0 (0.00%) | tcl91 |
| ||| - TclFreeObj | 3 (0.15%) | 0 (0.00%) | tcl91 |
| || - TclInitPkgFiles | 1 (0.05%) | 0 (0.00%) | tcl91 |
| | + Tcl_CreateInterp | 671 (33.60%) | 4 (0.20%) | tcl91 |
| || + TclMakeEnsemble | 232 (11.62%) | 7 (0.35%) | tcl91 |
| ||| + Tcl_CreateObjCommand | 77 (3.86%) | 2 (0.10%) | tcl91 |
| |||| + TclCreateObjCommandInNs | 59 (2.95%) | 5 (0.25%) | tcl91 |
| ||||| - TclpAlloc | 18 (0.90%) | 1 (0.05%) | tcl91 |
| ||||| - TclResetShadowedCmdRefs | 16 (0.80%) | 3 (0.15%) | tcl91 |
| ||||| - CreateHashEntry | 14 (0.70%) | 5 (0.25%) | tcl91 |
| ||||| - TclInvalidateCmdLiteral | 4 (0.20%) | 4 (0.20%) | tcl91 |
| ||||| - TclStackFree | 2 (0.10%) | 2 (0.10%) | tcl91 |
| |||| - TclGetNamespaceForQualName | 14 (0.70%) | 6 (0.30%) | tcl91 |
| |||| - [External Call] | |||
| strstr | 2 (0.10%) | 2 (0.10%) | vcruntime140 |
| ||| + Tcl_SetEnsembleMappingDict | 42 (2.10%) | 0 (0.00%) | tcl91 |
| |||| + Tcl_ListObjIndex | 42 (2.10%) | 3 (0.15%) | tcl91 |
| ||||| + TclListObjGetRep | 39 (1.95%) | 0 (0.00%) | tcl91 |
| |||||| + SetListFromAny | 39 (1.95%) | 2 (0.10%) | tcl91 |
| ||||||| - FindElement | 10 (0.50%) | 10 (0.50%) | tcl91 |
| ||||||| - ListStoreNew | 9 (0.45%) | 1 (0.05%) | tcl91 |
| ||||||| - TclMaxListLength | 8 (0.40%) | 8 (0.40%) | tcl91 |
| ||||||| - TclThreadAllocObj | 4 (0.20%) | 0 (0.00%) | tcl91 |
| ||||||| - FreeStringInternalRep | 3 (0.15%) | 0 (0.00%) | tcl91 |
| ||||||| - TclpAlloc | 3 (0.15%) | 1 (0.05%) | tcl91 |
| ||| + TclGetNamespaceForQualName | 39 (1.95%) | 1 (0.05%) | tcl91 |
| |||| + Tcl_CreateNamespace | 36 (1.80%) | 0 (0.00%) | tcl91 |
| ||||| + TclpAlloc | 30 (1.50%) | 0 (0.00%) | tcl91 |
| |||||| + GetBlocks | 30 (1.50%) | 10 (0.50%) | tcl91 |
| ||||||| - [External Call] | |||
| RtlpAllocateHeapInternal | 10 (0.50%) | 10 (0.50%) | ntdll |
| ||||||| - [System Code] | |||
| 0xfffff8002720d66d | 7 (0.35%) | 7 (0.35%) | [Unknown Code] |
| ||||||| - [System Code] | |||
| 0xfffff8002720d624 | 3 (0.15%) | 3 (0.15%) | [Unknown Code] |
| ||||| - CreateHashEntry | 4 (0.20%) | 0 (0.00%) | tcl91 |
| ||||| - Tcl_DStringAppend | 2 (0.10%) | 0 (0.00%) | tcl91 |
| |||| - CreateHashEntry | 1 (0.05%) | 1 (0.05%) | tcl91 |
| |||| - TclStackFree | 1 (0.05%) | 1 (0.05%) | tcl91 |
| ||| + TclDictPut | 36 (1.80%) | 2 (0.10%) | tcl91 |
| |||| - Tcl_DictObjPut | 25 (1.25%) | 2 (0.10%) | tcl91 |
| |||| - TclThreadAllocObj | 4 (0.20%) | 3 (0.15%) | tcl91 |
| |||| - [External Call] | |||
| memcpy | 3 (0.15%) | 3 (0.15%) | vcruntime140 |
| |||| - TclpAlloc | 2 (0.10%) | 1 (0.05%) | tcl91 |
| ||| - AppendUtfToUtfRep | 13 (0.65%) | 3 (0.15%) | tcl91 |
| ||| - TclCreateEnsembleInNs | 5 (0.25%) | 2 (0.10%) | tcl91 |
| ||| - TclpAlloc | 4 (0.20%) | 3 (0.15%) | tcl91 |
| ||| - SetStringFromAny | 3 (0.15%) | 1 (0.05%) | tcl91 |
| ||| - Tcl_DStringAppend | 2 (0.10%) | 1 (0.05%) | tcl91 |
| ||| - TclThreadAllocObj | 2 (0.10%) | 1 (0.05%) | tcl91 |
| ||| - Tcl_SplitList | 1 (0.05%) | 0 (0.00%) | tcl91 |
| ||| - [External Call] | |||
| memcpy | 1 (0.05%) | 1 (0.05%) | vcruntime140 |
| || + InitFoundation | 159 (7.96%) | 2 (0.10%) | tcl91 |
| ||| + TclOODefineSlots | 59 (2.95%) | 1 (0.05%) | tcl91 |
| |||| + TclNewObjectInstanceCommon | 46 (2.30%) | 1 (0.05%) | tcl91 |
| ||||| + AllocObject | 40 (2.00%) | 0 (0.00%) | tcl91 |
| |||||| - Tcl_CreateNamespace | 25 (1.25%) | 1 (0.05%) | tcl91 |
| |||||| - TclCreateObjCommandInNs | 8 (0.40%) | 1 (0.05%) | tcl91 |
| |||||| - TclpAlloc | 4 (0.20%) | 0 (0.00%) | tcl91 |
| |||||| - _snprintf | 3 (0.15%) | 0 (0.00%) | tcl91 |
| ||||| - TclGetNamespaceForQualName | 4 (0.20%) | 2 (0.10%) | tcl91 |
| ||||| - CreateHashEntry | 1 (0.05%) | 1 (0.05%) | tcl91 |
| |||| - TclNewInstanceMethod | 7 (0.35%) | 3 (0.15%) | tcl91 |
| |||| - GetOrCreateMethod | 2 (0.10%) | 0 (0.00%) | tcl91 |
| |||| - TclOONewForwardMethod | 2 (0.10%) | 1 (0.05%) | tcl91 |
| |||| - TclThreadAllocObj | 1 (0.05%) | 0 (0.00%) | tcl91 |
| ||| - TclOOInitInfo | 36 (1.80%) | 0 (0.00%) | tcl91 |
| ||| - MakeAdditionalClasses | 26 (1.30%) | 0 (0.00%) | tcl91 |
| ||| - InitClassSystemRoots | 13 (0.65%) | 0 (0.00%) | tcl91 |
| ||| - TclCreateObjCommandInNs | 11 (0.55%) | 1 (0.05%) | tcl91 |
| ||| - Tcl_CreateNamespace | 5 (0.25%) | 1 (0.05%) | tcl91 |
| ||| - CreateConstantInNSStr | 3 (0.15%) | 0 (0.00%) | tcl91 |
| ||| - TclNewMethod | 2 (0.10%) | 0 (0.00%) | tcl91 |
| ||| - Tcl_CallWhenDeleted | 1 (0.05%) | 0 (0.00%) | tcl91 |
| ||| - TclpAlloc | 1 (0.05%) | 1 (0.05%) | tcl91 |
| || - TclpSetVariables | 52 (2.60%) | 1 (0.05%) | tcl91 |
| || + TclSetupEnv | 48 (2.40%) | 1 (0.05%) | tcl91 |
| ||| - Tcl_Char16ToUtfDString | 22 (1.10%) | 8 (0.40%) | tcl91 |
| ||| - Tcl_ObjSetVar2 | 7 (0.35%) | 0 (0.00%) | tcl91 |
| ||| - CreateHashEntry | 4 (0.20%) | 2 (0.10%) | tcl91 |
| ||| - TclThreadAllocObj | 4 (0.20%) | 2 (0.10%) | tcl91 |
| ||| - [External Call] | |||
| __p__wenviron | 3 (0.15%) | 3 (0.15%) | ucrtbase |
| ||| - TraceVarEx | 2 (0.10%) | 0 (0.00%) | tcl91 |
| ||| - TclpAlloc | 2 (0.10%) | 1 (0.05%) | tcl91 |
| ||| - Tcl_UntraceVar2 | 1 (0.05%) | 0 (0.00%) | tcl91 |
| ||| - [External Call] | |||
| __ascii_stricmp | 1 (0.05%) | 1 (0.05%) | ucrtbase |
| ||| - [External Call] | |||
| memcpy | 1 (0.05%) | 1 (0.05%) | vcruntime140 |
| || + TclZipfs_Init | 38 (1.90%) | 0 (0.00%) | tcl91 |
| ||| - TclEvalEx | 22 (1.10%) | 0 (0.00%) | tcl91 |
| ||| - Tcl_LinkVar | 8 (0.40%) | 0 (0.00%) | tcl91 |
| ||| - TclMakeEnsemble | 7 (0.35%) | 0 (0.00%) | tcl91 |
| ||| - Tcl_CreateObjCommand | 1 (0.05%) | 0 (0.00%) | tcl91 |
| || - TclEvalEx | 38 (1.90%) | 3 (0.15%) | tcl91 |
| || - TclCreateObjCommandInNs | 20 (1.00%) | 1 (0.05%) | tcl91 |
| || - TclClockInit | 16 (0.80%) | 0 (0.00%) | tcl91 |
| || - TclGetNamespaceForQualName | 12 (0.60%) | 5 (0.25%) | tcl91 |
| || - Tcl_RegisterConfig | 8 (0.40%) | 0 (0.00%) | tcl91 |
| || - CreateHashEntry | 8 (0.40%) | 3 (0.15%) | tcl91 |
| || - TclInterpInit | 5 (0.25%) | 0 (0.00%) | tcl91 |
| || - TclpAlloc | 5 (0.25%) | 4 (0.20%) | tcl91 |
| || - Tcl_CreateNamespace | 4 (0.20%) | 1 (0.05%) | tcl91 |
| || - Tcl_Export | 4 (0.20%) | 2 (0.10%) | tcl91 |
| || - Tcl_PkgProvideEx | 3 (0.15%) | 0 (0.00%) | tcl91 |
| || - TclCreateExecEnv | 3 (0.15%) | 0 (0.00%) | tcl91 |
| || - [External Call] | |||
| common_getenv<wchar_t> | 3 (0.15%) | 3 (0.15%) | ucrtbase |
| || - Tcl_SetEnsembleMappingDict | 2 (0.10%) | 2 (0.10%) | tcl91 |
| || - Tcl_SetVar2 | 1 (0.05%) | 0 (0.00%) | tcl91 |
| || - TclFreeObj | 1 (0.05%) | 0 (0.00%) | tcl91 |
| || - TclThreadAllocObj | 1 (0.05%) | 0 (0.00%) | tcl91 |
| || - [External Call] | |||
| RtlEnterCriticalSection | 1 (0.05%) | 1 (0.05%) | ntdll |
| || - TclRegisterCommandTypeName | 1 (0.05%) | 1 (0.05%) | tcl91 |
| || - [External Call] | |||
| _wgetenv | 1 (0.05%) | 1 (0.05%) | ucrtbase |
| || - [External Call] | |||
| strstr | 1 (0.05%) | 1 (0.05%) | vcruntime140 |
| | - Tcl_CreateObjCommand | 2 (0.10%) | 0 (0.00%) | tcl91 |
| | - CreateHashEntry | 2 (0.10%) | 2 (0.10%) | tcl91 |
