Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 507d05f851c399ce608e7533a137ce6ed4cbccc5
Ticket: 3485833fffffffffffffffffffffffffffffffff
trace - inexplicable large overhead by ensemble commands
User & Date: sebres on 2012-03-07 16:00:51
Changes

  1. icomment:
    I have tested it with (-1) insted of ENSEMBLE_PSEUDO_COMMAND - the output is the same. 
    This happens because TraceExecutionProc gets the command from objv[0] and that is "::tcl::string::range". 
    
    I am not sure, perhaps we can use the "simple" variant that you have suggested - without ENSEMBLE_PSEUDO_COMMAND. 
    I will test it with my profiler - I have therein a strange piece of code, that build calling command name from current namespace and "char * command", when objv[0] is NULL or objc = 0. 
    It may be obsolete (since 8.4 or 8.5).
    
    
  2. login: "sebres"
  3. mimetype: "text/plain"
  4. username: "sebres"