Possible division by zero in execution control throughput calculation

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.1.0-rc0, 7.0.0-rc2
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v7.0
    • Execution Team 2023-05-29
    • 135
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      When calculating throughput for throughput probing, we simply divide the number of operations completed by the time elapsed. While we would expect the time elapsed to never be zero here, we don't protect against it in case the Timer interface does return zero for one reason or another. Thus we would end up dividing by zero, resulting in a throughput of either Infinity or NaN depending on the dividend.

              Assignee:
              Gregory Noma
              Reporter:
              Gregory Noma
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: