From 90e02fa2556ace1458aad6c847e59108303949df Mon Sep 17 00:00:00 2001 From: Alex Hunt Date: Thu, 19 Mar 2026 04:57:29 -0700 Subject: [PATCH] Increase trace screenshot scale factor to 1x (#56136) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/56136 Following D97131485, brings iOS screenshot recording to parity with Android. NOTE: Dynamic frame sampling (D97131485) becomes more load bearing after this change, as a 1x scale increases processing overhead significantly. Let's continue dogfooding. Changelog: [Internal] Reviewed By: rubennorte Differential Revision: D97131484 fbshipit-source-id: 4c03842ae22b905a50f989ff68fece7acc289a67 --- .../react-native/React/DevSupport/RCTFrameTimingsObserver.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-native/React/DevSupport/RCTFrameTimingsObserver.mm b/packages/react-native/React/DevSupport/RCTFrameTimingsObserver.mm index a9fd4032536..ec9a0ae01fb 100644 --- a/packages/react-native/React/DevSupport/RCTFrameTimingsObserver.mm +++ b/packages/react-native/React/DevSupport/RCTFrameTimingsObserver.mm @@ -22,7 +22,7 @@ using namespace facebook::react; -static constexpr CGFloat kScreenshotScaleFactor = 0.75; +static constexpr CGFloat kScreenshotScaleFactor = 1.0; static constexpr CGFloat kScreenshotJPEGQuality = 0.8; namespace {