Re: [sensors] Allowing data batching when poll frequency < sensor frequency

There seems to be solid use cases and broad agreement to provide 
batches of sensor values when the frequency of `onchange` events is 
below the frequency at which the data is emitted by the sensor (for 
example, `onchange` events emitted at 60 Hz and a sensor emitting 
values at 1,000 Hz). This seems to be the good compromise between the 
need for fine grained data and perf requirements.

There are various means to expose these data batches but none that 
jump out as being the obvious, most elegant and efficient way to do 
so. There's also the possibility of making that an opt-in process for 
performance reasons.

**Proposed resolutions: the use cases justifying this batch mode must 
be documented in the spec. A batch mode must be specified.**

**Further actions: understand the performance constraints better to 
see if this batch mode should be opt-in or always on.**

-- 
GitHub Notif of comment by tobie
See https://github.com/w3c/sensors/issues/13#issuecomment-100235382

Received on Friday, 8 May 2015 13:33:02 UTC