Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 19cc50eee910ae53ca2a2d765283188addca6a96def486ff879af13a748fb314
Ticket: 4731d31eff3e2245b2300462b9185ab1b2645810
iTcl and Tcl 8.6 performance with Tcl_Preserve
User & Date: sebres on 2019-01-29 20:04:03
Changes

  1. icomment:
    Hmm... Apart from the necessity the usage of Tcl_Preserve (still don't see why it should be in case of class creation), the results with threaded compiled Tcl on my side are still worse:
    
    Tcl8.5 (current):
    Initial 10 classes - 6084 microseconds per iteration
      Final 10 classes - 2069 microseconds per iteration
    
    Tcl8.6 (current):
    Initial 10 classes - 78647 microseconds per iteration
      Final 10 classes - 75752 microseconds per iteration
    
    What I don't see, is the slowing down in "Final" case (in opposite it is faster in both as "Initial").
    
    Which version of itcl was used exactly? (for 8.5 and 8.6).
    
  2. login: "sebres"
  3. mimetype: "text/plain"