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:
Oleksandr Melnykov
2023-04-20 15:36:16 -07:00
committed by Facebook GitHub Bot
parent d77798b270
commit 9e0d198727
8 changed files with 45 additions and 48 deletions
@@ -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(