You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: Use perf_counter_ns for request duration tracking (#1260)
### Description
Replace `datetime.now` by `time.perf_counter_ns` in time difference
calculations for request duration tracking to avoid possible issues
connected to measured time resolution.
This fixes the flakiness of `test_final_statistics` that was happening
on Windows and Python versions < 3.13.
### Issues
- Closes: #1256
---------
Co-authored-by: Vlada Dusek <[email protected]>
0 commit comments