mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-24 04:16:00 +08:00
Use timestamps from QPL by default
Differential Revision: D8207166 fbshipit-source-id: 1e43d6874ee400cb2e26a11cbcfb12ee32d28d3c
This commit is contained in:
committed by
Facebook Github Bot
parent
6e359c4589
commit
ce7dd53dab
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user