Use timestamps from QPL by default

Differential Revision: D8207166

fbshipit-source-id: 1e43d6874ee400cb2e26a11cbcfb12ee32d28d3c
This commit is contained in:
Alexey Lang 2018-05-31 02:37:33 -07:00 committed by Facebook Github Bot
parent 6e359c4589
commit ce7dd53dab
1 changed files with 3 additions and 1 deletions

View File

@ -16,7 +16,9 @@ const performanceNow =
/* $FlowFixMe(>=0.54.0 site=react_native_oss) This comment suppresses an
* error found when Flow v0.54 was deployed. To see the error delete this
* comment and run Flow. */
global.nativePerformanceNow || require('fbjs/lib/performanceNow');
global.nativeQPLTimestamp ||
global.nativePerformanceNow ||
require('fbjs/lib/performanceNow');
type Timespan = {
description?: string,