mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Back out "Clean up uneeded "duration" parameter from the Performance.mark API"
Summary: Changelog: [Internal] Original commit changeset: ce3d14940124 Original Phabricator Diff: D45141978 Reviewed By: GijsWeterings Differential Revision: D45161958 fbshipit-source-id: 22d79e8e8d0670fd220391f7e5ea92ca257ff982
This commit is contained in:
committed by
Facebook GitHub Bot
parent
d77798b270
commit
9e0d198727
@@ -28,8 +28,9 @@ NativePerformance::NativePerformance(std::shared_ptr<CallInvoker> jsInvoker)
|
||||
void NativePerformance::mark(
|
||||
jsi::Runtime &rt,
|
||||
std::string name,
|
||||
double startTime) {
|
||||
PerformanceEntryReporter::getInstance().mark(name, startTime);
|
||||
double startTime,
|
||||
double duration) {
|
||||
PerformanceEntryReporter::getInstance().mark(name, startTime, duration);
|
||||
}
|
||||
|
||||
void NativePerformance::measure(
|
||||
|
||||
Reference in New Issue
Block a user