Skip to content

Commit 2071867

Browse files
committed
Increase trace screenshot scale factor to 1x (facebook#56136)
Summary: Pull Request resolved: facebook#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
1 parent 4c4e739 commit 2071867

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/react-native/React/DevSupport/RCTFrameTimingsObserver.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
using namespace facebook::react;
2323

24-
static constexpr CGFloat kScreenshotScaleFactor = 0.75;
24+
static constexpr CGFloat kScreenshotScaleFactor = 1.0;
2525
static constexpr CGFloat kScreenshotJPEGQuality = 0.8;
2626

2727
@implementation RCTFrameTimingsObserver {

0 commit comments

Comments
 (0)