Remove systrace from recursive function (#38790)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/38790

changelog: [internal]

Remove systrace from recursive function. This causes visual noise in perf tooling.

Reviewed By: rshest

Differential Revision: D48066562

fbshipit-source-id: 98739477f712c428e09cd9f5c06b399830f8f533
This commit is contained in:
Samuel Susla
2023-08-07 10:10:26 -07:00
committed by Facebook GitHub Bot
parent 2e5483e303
commit d1a2c346a7
@@ -1037,7 +1037,6 @@ static void calculateShadowViewMutationsV2(
ShadowViewNodePair::NonOwningList &&oldChildPairs,
ShadowViewNodePair::NonOwningList &&newChildPairs,
bool isRecursionRedundant) {
SystraceSection s("Differentiator::calculateShadowViewMutationsV2");
if (oldChildPairs.empty() && newChildPairs.empty()) {
return;
}