W3C home > Mailing lists > Public > public-device-apis-log@w3.org > December 2016

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

From: Tobie Langel via GitHub <sysbot+gh@w3.org>
Date: Sun, 18 Dec 2016 11:28:53 +0000
To: public-device-apis-log@w3.org
Message-ID: <issue_comment.created-267816118-1482060532-sysbot+gh@w3.org>
Replying to @alexshalamov:

> Since you have raised concerns about GC / performance issues related
 to current API, do you have any data / test app that shows the 
problem?

As mentioned earlier, GC-pauses in real-time applications is a know 
issue. The onus isn't on the OP to prove it is. It's on whoever pushes
 an API that allocates new object on every reading to prove it isn't. 
I don't volunteer. :-P

-- 
GitHub Notification of comment by tobie
Please view or discuss this issue at 
https://github.com/w3c/sensors/issues/153#issuecomment-267816118 using
 your GitHub account
Received on Sunday, 18 December 2016 11:28:59 UTC

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