Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stop sending State in view preallocation on Android #44954

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

sammy-SC
Copy link
Contributor

Summary:
changelog: [internal]

state object is usually invalid when first constructed and with view preallocation, it remains unused. This is unnecessary work that we can avoid by simply not sending state through jni during view preallocation.

Differential Revision: D58529357

@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner labels Jun 14, 2024
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D58529357

@analysis-bot
Copy link

analysis-bot commented Jun 14, 2024

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 21,300,376 -446
android hermes armeabi-v7a n/a --
android hermes x86 n/a --
android hermes x86_64 n/a --
android jsc arm64-v8a 24,497,455 -122
android jsc armeabi-v7a n/a --
android jsc x86 n/a --
android jsc x86_64 n/a --

Base commit: 5b03453
Branch: main

sammy-SC and others added 2 commits July 9, 2024 07:37
Differential Revision: D59522141
Summary:
Pull Request resolved: facebook#44954

changelog: [internal]

state object is usually invalid when first constructed and with view preallocation, it remains unused. This is unnecessary work that we can avoid by simply not sending state through jni during view preallocation.

Reviewed By: alanleedev

Differential Revision: D58529357
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D58529357

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported p: Facebook Partner: Facebook Partner
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants