Spencer Ahrens f72d9dd08b Add option to track when we're showing blankness during fast scrolling
Summary:
If tracking is enabled and the sampling check passes on a scroll or layout event,
we compare the scroll offset to the layout of the rendered items. If the items don't cover
the visible area of the list, we fire an `onFillRateExceeded` call with relevant stats for
logging the event through an analytics pipeline.

The measurement methodology is a little jank because everything is async, but it seems directionally
useful for getting ballpark numbers, catching regressions, and tracking improvements.

Benchmark testing shows a ~2014 MotoX starts hitting the fill rate limit at about 2500 px / sec,
which is pretty fast scrolling.

This also reworks our frame rate stuff so we can use a shared `SceneTracking` thing and track blankness
globally.

Reviewed By: bvaughn

Differential Revision: D4806867

fbshipit-source-id: 119bf177463c8c3aa51fa13d1a9d03b1a96042aa
2017-04-07 01:00:39 -07:00
..
2016-10-11 10:14:28 -07:00
2017-03-08 00:52:17 -08:00
2017-03-08 00:52:17 -08:00
2017-03-08 00:52:17 -08:00
2016-08-09 06:43:46 -07:00
2016-02-27 15:58:35 -08:00
2016-02-27 15:58:35 -08:00
2016-05-17 12:43:40 -07:00
2017-03-08 00:52:17 -08:00
2015-08-06 20:22:24 -08:00
2015-12-15 09:09:32 -08:00
2016-01-15 05:15:31 -08:00
2016-08-09 06:43:46 -07:00