Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 50179a8a823b53a5c7a897342c32ca848dec43060ebcf9e273515babfe2c5cf2
Ticket: e02798626dfbcd7b33db19e0fc3a9fb9fa0714f4
clock command is 8 times slower with Tcl 9.0b1
User & Date: anonymous on 2024-02-24 18:36:48
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-fossil-plain"
  4. comment changed to:
    tcl_platform(machine)  = x86_64
    tcl_platform(os)  = Darwin
    tcl_platform(osVersion) = 23.3.0
    
    Here is my procedure :   
    
    proc testclock {} {
        set base [clock scan {03/09/1968} -format {%d/%m/%Y}]
    
        for {set i 1} {$i < 20000} {incr i} {
            set now  [clock scan {+1 days} -base $base]
            set date [clock format [clock scan {+1 months} -base $now] -format {%d/%m/%Y}]
            set base $now
        }
    }
    testclock
    
    time tclsh8.6.13 testclock.tcl 
    > 1,09s user 0,01s system 99% cpu 1,105 total
    time tclsh9.0 testclock.tcl 
    > 7,92s user 0,02s system 99% cpu 7,977 total
    
  5. foundin changed to: "9.0b1"
  6. is_private changed to: "0"
  7. login: "anonymous"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "09c930666be5f16f66385ff2c54c7816bbb4dfd4"
  10. resolution changed to: "None"
  11. severity changed to: "Important"
  12. status changed to: "Open"
  13. submitter changed to: "anonymous"
  14. subsystem changed to: "16. Commands A-H"
  15. title changed to: "clock command is 8 times slower with tcl 9.0b1"
  16. type changed to: "Bug"