Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: fa3aebc2e26e0e2a2774be793a4de0f8607b5726
Ticket: 3485833fffffffffffffffffffffffffffffffff
trace - inexplicable large overhead by ensemble commands
User & Date: dkf on 2012-02-09 22:59:41
Changes

  1. icomment:
    Most of cost is due to TEOV_RunEnterTraces, which spends a lot of time converting something to a string.
    
    Timings:
    
    % testcmdtrace resulttest {time {string range $s 2000 2001} 100000}
    590.6396843900001 microseconds per iteration
    % time {string range $s 2000 2001} 100000
    24.18864962 microseconds per iteration
    % time {::tcl::string::range $s 2000 2001} 100000
    12.64128215 microseconds per iteration
    
    
    
  2. login: "dkf"
  3. mimetype: "text/plain"
  4. username: "dkf"