Skip to content
Tcl Source Code Update of ”CPU Profile for Tcl_CreateInterp”
Login

Update of ”CPU Profile for Tcl_CreateInterp”

Overview

Artifact ID: e7bd493fe24f7c4a2105fcc1707f0d8d4e225e8c7a056f77576ced15ab3a5950
Page Name:CPU Profile for Tcl_CreateInterp
Date: 2025-09-13 16:00:55
Original User: apnadkarni
Mimetype:text/x-markdown
Parent: d973e72490bc47d3a96cedbb46471c3c2961c2f6e635c135ff8c9173554da3e0 (diff)
Content

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