mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Re-submit Performance.mark/duration argument removal from the API (#37016)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/37016 Changelog: [Internal] Re-submitting https://github.com/facebook/react-native/pull/36997, which was reverted earlier due to the internal compatibility check issues. Reviewed By: cipolleschi Differential Revision: D45177697 fbshipit-source-id: 9a4a55e45d4530770b16247374d03bd4ccc7fa21
This commit is contained in:
committed by
Facebook GitHub Bot
parent
74f256b6f0
commit
10aad32bef
@@ -28,9 +28,8 @@ NativePerformance::NativePerformance(std::shared_ptr<CallInvoker> jsInvoker)
|
||||
void NativePerformance::mark(
|
||||
jsi::Runtime &rt,
|
||||
std::string name,
|
||||
double startTime,
|
||||
double duration) {
|
||||
PerformanceEntryReporter::getInstance().mark(name, startTime, duration);
|
||||
double startTime) {
|
||||
PerformanceEntryReporter::getInstance().mark(name, startTime);
|
||||
}
|
||||
|
||||
void NativePerformance::measure(
|
||||
|
||||
Reference in New Issue
Block a user