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:
Ruslan Shestopalyuk
2023-04-21 05:14:11 -07:00
committed by Facebook GitHub Bot
parent 74f256b6f0
commit 10aad32bef
8 changed files with 48 additions and 45 deletions
@@ -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(