Re: [webrtc-stats] Added Guidelines for getStats() results caching

>From a practical view, I don't think we should optimize aggressive JavaScript, or spec how to do so.

E.g. if a page is aggressively calling `getStats` in a tight loop, the answer might not be to optimize those calls, but instead throttle those calls by delaying results. Any backlog of in-parallel async requests that are more frequent than we can handle, can be satisfied with the same results, without breaking any spec guarantees.

-- 
GitHub Notification of comment by jan-ivar
Please view or discuss this issue at https://github.com/w3c/webrtc-stats/pull/243#issuecomment-330240037 using your GitHub account

Received on Monday, 18 September 2017 14:26:10 UTC