Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: a26b76f876da94abfcf8ef41aa65b2d6c437d3819baaef1aa7d114b12a6cef68
Ticket: 1e5e25cf2b86a91a1bcb6012a67509ff4097cb7a
valgrind foils [timerate] expectations
User & Date: dgp on 2019-04-08 17:14:53
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. comment changed to:
    cmdMZ.test
    M1:65.6328 µs/# 305 # 15236.3 #/sec 20.018 nett-ms
    M2:1273.69 µs/# 16 # 785.12 #/sec 20.379 nett-ms
    
    
    ==== cmdMZ-6.6 Tcl_TimeRateObjCmd: slower commands take longer, but it remains almost the same time of measument FAILED
    ==== Contents of test case:
    
        set m1 [timerate {after 0} 20]
        set m2 [timerate {after 1} 20]
    puts M1:$m1
    puts M2:$m2
        list  [expr {[lindex $m1 0] < [lindex $m2 0]}]  [expr {[lindex $m1 0] < 100}]  [expr {[lindex $m2 0] >= 500}]  [expr {[lindex $m1 2] > 1000}]  [expr {[lindex $m2 2] <= 50}]  [expr {[lindex $m1 4] > 10000}]  [expr {[lindex $m2 4] < 10000}]  [expr {[lindex $m1 6] > 10 && [lindex $m1 6] < 50}]  [expr {[lindex $m2 6] > 10 && [lindex $m2 6] < 50}]
    
    ---- Result was:
    1 1 1 0 1 1 1 1 1
    ---- Result should have been (exact matching):
    1 1 1 1 1 1 1 1 1
    ==== cmdMZ-6.6 FAILED
    
  5. foundin changed to: "8.6.10+"
  6. is_private changed to: "0"
  7. login: "dgp"
  8. priority changed to: "5 Medium"
  9. resolution changed to: "None"
  10. severity changed to: "Minor"
  11. status changed to: "Open"
  12. submitter changed to: "dgp"
  13. subsystem changed to: "None"
  14. title changed to: "valgrind foils [timerate] expectations"
  15. type changed to: "Bug"