Schedule XHR responses instead of delivering them on the second
Bandwidth calculation uses the length of the XHR so rounding delivery up to the nearest second can skew results. Instead, calculate the delivery time of XHRs and schedule a timeout to set the response body.
Showing
1 changed file
with
50 additions
and
49 deletions
-
Please register or sign in to post a comment