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.
- Votes:
-
0 Vote for this issue
- Watchers:
-
3 Start watching this issue
- Created:
- Updated:
- Resolved: