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
..
2017-02-21 09:11:01 -08:00
2016-12-07 17:13:42 -08:00
2017-04-05 18:31:06 -07:00
2017-03-28 08:38:13 -07:00
2016-11-02 12:29:15 -07:00
2017-04-05 18:31:06 -07:00
2017-03-29 02:35:59 -07:00
2017-01-31 11:13:50 -08:00
2016-11-23 11:28:29 -08:00
2017-02-21 15:18:40 -08:00
2017-03-21 08:01:58 -07:00