From d1a2c346a7f2cdffd42be5025b851f58c572ff0c Mon Sep 17 00:00:00 2001 From: Samuel Susla Date: Mon, 7 Aug 2023 10:10:26 -0700 Subject: [PATCH] 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 --- .../ReactCommon/react/renderer/mounting/Differentiator.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/react-native/ReactCommon/react/renderer/mounting/Differentiator.cpp b/packages/react-native/ReactCommon/react/renderer/mounting/Differentiator.cpp index 79ecdc34220..c36b81c90e5 100644 --- a/packages/react-native/ReactCommon/react/renderer/mounting/Differentiator.cpp +++ b/packages/react-native/ReactCommon/react/renderer/mounting/Differentiator.cpp @@ -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; }