Overview
| Artifact ID: | d973e72490bc47d3a96cedbb46471c3c2961c2f6e635c135ff8c9173554da3e0 |
|---|---|
| Page Name: | CPU Profile for Tcl_CreateInterp |
| Date: | 2025-08-18 15:33:46 |
| Original User: | apnadkarni |
| Mimetype: | text/x-markdown |
| Next | e7bd493fe24f7c4a2105fcc1707f0d8d4e225e8c7a056f77576ced15ab3a5950 |
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.
| 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 |