Skip to content
Tcl Source Code History Of Ticket 4ee9b4f3e965a7da
Login

History Of Ticket 4ee9b4f3e965a7da

Artifacts Associated With Ticket 4ee9b4f3e965a7da

  1. Ticket change [a85f28d11d] (rid 156795) by dgp on 2017-09-25 14:00:41:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/plain"
    4. comment initialized to:
      
      The command
      
        time $script
      
      without a $count argument, will time a single
      iteration, and report the result as a long number
      of microseconds.  Long values overflow, and that
      imposes a limit that [time] is only good for a
      $script that will complete in less than 36 minutes.
      
      A workaround would be to request at least 2 iterations,
      but when timing something that takes more than 36 minutes,
      that's not attractive.
      
      Why not return the count as a wide int?
      
    5. foundin initialized to: "all"
    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: "18. Commands M-Z"
    14. title initialized to: "Single iteration [time] has 36 minute overflow"
    15. type initialized to: "Bug"
  2. Ticket change [e694535fdd] (rid 168683) by sebres on 2019-01-28 16:28:01:

    1. closedate changed to: "2458512.18612779"
    2. closer changed to: "sebres"
    3. comment changed to:
      The command
      
        time $script
      
      without a $count argument, will time a single
      iteration, and report the result as a long number
      of microseconds.  Long values overflow, and that
      imposes a limit that [time] is only good for a
      $script that will complete in less than 36 minutes.
      
      A workaround would be to request at least 2 iterations,
      but when timing something that takes more than 36 minutes,
      that's not attractive.
      
      Why not return the count as a wide int?
      
    4. icomment:
      Fixed in [523e36b232] for >= 8.5.<br/>
      Tcl_NewWideIntObj creates anyway an integer for values <= INT_MAX (due to Tcl_SetWideIntObj), and it was already fixed the same way since 8.7 branch.
      
    5. login: "sebres"
    6. mimetype: "text/x-fossil-wiki"
    7. resolution changed to: "Fixed"
    8. status changed to: "Closed"