mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-05-18 04:13:51 +08: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:
committed by
Facebook Github Bot 6
parent
ac534387f8
commit
ac03c47895
@@ -10,9 +10,10 @@
|
||||
*/
|
||||
'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 extras = {};
|
||||
|
||||
Reference in New Issue
Block a user