Skip to content
Tcl Source Code CPU Profile for Tcl_CreateInterp
Login

CPU Profile for Tcl_CreateInterp

Below is the execution profile in Visual Studio for interp creation. This snapshot is for 9.0.2, truncated because of some VS cut'n'paste issues. Go to 9.1 profile

Function Name Total CPU [unit, %] Self CPU [unit, %] Module Category
 + Tcl_CreateInterp 7 (100.00%) 0 (0.00%) tcl90
| + InitFoundation 5 (71.43%) 0 (0.00%) tcl90
|| + TclEvalEx 4 (57.14%) 0 (0.00%) tcl90
||| + TclNRRunCallbacks 4 (57.14%) 0 (0.00%) tcl90
|||| + TclOODefineObjCmd 2 (28.57%) 0 (0.00%) tcl90
||||| + TclNREvalObjEx 1 (14.29%) 0 (0.00%) tcl90
|||||| + TclCompileObj 1 (14.29%) 0 (0.00%) tcl90
||||||| + TclSetByteCodeFromAny 1 (14.29%) 0 (0.00%) tcl90
|||||||| + TclCompileScript 1 (14.29%) 0 (0.00%) tcl90
||||||||| + CompileCommandTokens 1 (14.29%) 0 (0.00%) tcl90
|||||||||| + TclCompileInvocation 1 (14.29%) 0 (0.00%) tcl90
||||||||||| + CompileCmdLiteral 1 (14.29%) 0 (0.00%) tcl90
|||||||||||| + SetCmdNameObj 1 (14.29%) 0 (0.00%) tcl90
||||||||||||| + TclpAlloc 1 (14.29%) 0 (0.00%) tcl90
|||||||||||||| - GetBlocks 1 (14.29%) 1 (14.29%) tcl90
||||| + TclNRRunCallbacks 1 (14.29%) 0 (0.00%) tcl90
|||||| + PrivateNRObjectCmd 1 (14.29%) 0 (0.00%) tcl90
||||||| + TclOOObjectCmdCore 1 (14.29%) 0 (0.00%) tcl90
|||||||| + TclOOGetCallContext 1 (14.29%) 0 (0.00%) tcl90
||||||||| - AddClassFiltersToCallContext 1 (14.29%) 1 (14.29%) tcl90
|||| + DecrRefsPostClassConstructor 1 (14.29%) 0 (0.00%) tcl90
||||| + TclNRRunCallbacks 1 (14.29%) 0 (0.00%) tcl90
|||||| + TclOOObjDefObjCmd 1 (14.29%) 0 (0.00%) tcl90
||||||| + MagicDefinitionInvoke 1 (14.29%) 0 (0.00%) tcl90
|||||||| - TclNREvalObjv 1 (14.29%) 1 (14.29%) tcl90
|||| + Tcl_ProcObjCmd 1 (14.29%) 0 (0.00%) tcl90
||||| + TclCreateProc 1 (14.29%) 0 (0.00%) tcl90
|||||| + Tcl_GetCharLength 1 (14.29%) 0 (0.00%) tcl90
||||||| + SetStringFromAny 1 (14.29%) 0 (0.00%) tcl90
|||||||| + TclpAlloc 1 (14.29%) 0 (0.00%) tcl90
||||||||| - GetBlocks 1 (14.29%) 1 (14.29%) tcl90
|| + TclOODefineSlots 1 (14.29%) 0 (0.00%) tcl90
||| + TclNewInstanceMethod 1 (14.29%) 0 (0.00%) tcl90
|||| - TclpAlloc 1 (14.29%) 1 (14.29%) tcl90
| + TclMakeEnsemble 2 (28.57%) 0 (0.00%) tcl90
|| + SetStringFromAny 2 (28.57%) 0 (0.00%) tcl90
||| + TclpAlloc 2 (28.57%) 0 (0.00%) tcl90
|||| + GetBlocks 2 (28.57%) 1 (14.29%) tcl90