W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > September 2017

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

From: jan-ivar via GitHub <sysbot+gh@w3.org>
Date: Mon, 18 Sep 2017 14:26:13 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-330240037-1505744762-sysbot+gh@w3.org>
>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

This archive was generated by hypermail 2.3.1 : Tuesday, 4 June 2019 15:32:45 UTC