Skip to content
Tcl Source Code History Of Ticket 1e5e25cf2b86a91a
Login

History Of Ticket 1e5e25cf2b86a91a

Artifacts Associated With Ticket 1e5e25cf2b86a91a

  1. Ticket change [a26b76f876] (rid 170882) by dgp on 2019-04-08 17:14:53:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/plain"
    4. comment initialized 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 initialized to: "8.6.10+"
    6. is_private initialized to: "0"
    7. login: "dgp"
    8. priority initialized to: "5 Medium"
    9. resolution initialized to: "None"
    10. severity initialized to: "Minor"
    11. status initialized to: "Open"
    12. submitter initialized to: "dgp"
    13. subsystem initialized to: "None"
    14. title initialized to: "valgrind foils [timerate] expectations"
    15. type initialized to: "Bug"
  2. Ticket change [88b5172e72] (rid 170939) by sebres on 2019-04-09 10:35:47:

    1. closedate changed to: "2458582.94152213"
    2. closer changed to: "sebres"
    3. foundin changed to: ">= 8.5"
    4. icomment:
      I doubt valgrind alone is to blame for this disruption. Rather it is simply a timing issue, because "after" (resp. timer/sleep mechanism) is not yet NRT-capable, despite I'd reserved the ample buffer in ranges of this test.
      
      Anyway should be fixed now in [84e29e7149] (for >= 8.5).
      
    5. login: "sebres"
    6. mimetype: "text/plain"
    7. resolution changed to: "Fixed"
    8. status changed to: "Closed"