Compute time to transfer `n` points.
thomcom opened this issue · comments
The best way to stream points in the point budget is to know how many points we can transfer easily per frame. This is fairly trivial to compute:
- The client asks for
10
points from the server. Immediately before requesting points, set a timestamp. When the response is completed, set another timestamp. Save this value$t_1$ as the baseline. - The client asks for
10000
points from the server. Do the same process, saving in$t_2$ . - The client asks for
1000000
points from the server. Save the result in$t_3$ .
After a long conversation with ChatGPT we figured out a solution: