mirror of
https://github.com/status-im/react-native.git
synced 2025-02-26 08:05:34 +00:00
Use monotonic clock instead of currentTimeMillis
Reviewed By: javache Differential Revision: D3115208 fb-gh-sync-id: c0fef5a162ab023d55736b38c51c87b8759f089d fbshipit-source-id: c0fef5a162ab023d55736b38c51c87b8759f089d
This commit is contained in:
parent
ac534387f8
commit
ac03c47895
@ -10,9 +10,10 @@
|
|||||||
*/
|
*/
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var BatchedBridge = require('BatchedBridge');
|
const BatchedBridge = require('BatchedBridge');
|
||||||
|
const fbjsPerformanceNow = require('fbjs/lib/performanceNow');
|
||||||
|
|
||||||
var performanceNow = require('fbjs/lib/performanceNow');
|
const performanceNow = global.nativePerformanceNow || fbjsPerformanceNow;
|
||||||
|
|
||||||
var timespans = {};
|
var timespans = {};
|
||||||
var extras = {};
|
var extras = {};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user