W3C home > Mailing lists > Public > public-device-apis-log@w3.org > March 2017

Re: [sensors] Don't allocate response objects to avoid triggering GC

From: Tobie Langel via GitHub <sysbot+gh@w3.org>
Date: Mon, 20 Mar 2017 22:02:34 +0000
To: public-device-apis-log@w3.org
Message-ID: <issue_comment.created-287912162-1490047353-sysbot+gh@w3.org>
> I never said milliseconds in blink-dev, neither in this thread.

I was quoting Hannes Payer who said:

> An allocation in a time critical time frame may cause garbage collection but that does not mean that this is an issue. Garbage collection is really fast (<1ms) if most recently allocated objects die soon after their allocation. Otherwise it can easily take several milliseconds but we are actively working on reducing this cost even further.

GitHub Notification of comment by tobie
Please view or discuss this issue at https://github.com/w3c/sensors/issues/153#issuecomment-287912162 using your GitHub account
Received on Monday, 20 March 2017 22:02:40 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 12:18:52 UTC