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

Improvements to app bundle size reports #28169

Closed
wants to merge 4 commits into from

Conversation

tido64
Copy link
Collaborator

@tido64 tido64 commented Feb 24, 2020

Summary

Make the Android app bundle size report more legible, and update existing reports if possible.

Changelog

[Internal] [Changed] - Update existing app bundle size report if possible
[Internal] [Changed] - Generate table for APK sizes report

Test Plan

  • App bundle size reports should be updated when possible
  • Android apk sizes should be reported using a table

@tido64 tido64 requested a review from hramos as a code owner February 24, 2020 23:53
@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: Microsoft Partner: Microsoft Partner labels Feb 24, 2020
@analysis-bot
Copy link

analysis-bot commented Feb 25, 2020

App Platform Engine Arch Size (bytes)
RNTester Android hermes arm64-v8a 3291136
RNTester Android hermes armeabi-v7a 3131392
RNTester Android hermes x86 3463168
RNTester Android hermes x86_64 3426304
RNTester Android jsc arm64-v8a 4446208
RNTester Android jsc armeabi-v7a 4268032
RNTester Android jsc x86 4360192
RNTester Android jsc x86_64 4646912

@analysis-bot
Copy link

RNTester.app (iOS): 10657792 bytes

@tido64 tido64 closed this Feb 25, 2020
@analysis-bot
Copy link

App Platform Engine Arch Size (bytes)
RNTester Android hermes arm64-v8a 3291136
RNTester Android hermes armeabi-v7a 3131392
RNTester Android hermes x86 3463168
RNTester Android hermes x86_64 3426304
RNTester Android jsc arm64-v8a 4446208
RNTester Android jsc armeabi-v7a 4268032
RNTester Android jsc x86 4360192
RNTester Android jsc x86_64 4646912

@analysis-bot
Copy link

RNTester.app (iOS): 10657792 bytes

- Generate table for APK sizes
- Replace existing comment if possible
@tido64 tido64 reopened this Feb 25, 2020
@tido64
Copy link
Collaborator Author

tido64 commented Feb 25, 2020

1 2
Screenshot 2020-02-25 at 01 58 12 Screenshot 2020-02-25 at 02 18 01

eol=$'\n'
size_report=""
size_report="| App | Platform | Engine | Arch | Size (bytes) |$eol"
Copy link
Contributor

@chirag04 chirag04 Feb 25, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggestion: mb might be easier to mentally parse then bytes.

Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@hramos has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@react-native-bot
Copy link
Collaborator

This pull request was successfully merged by @tido64 in 32127e8.

When will my fix make it into a release? | Upcoming Releases

@react-native-bot react-native-bot added the Merged This PR has been merged. label Feb 27, 2020
@tido64 tido64 deleted the tido/size-bot-improvements branch February 28, 2020 13:02
osdnk pushed a commit to osdnk/react-native that referenced this pull request Mar 9, 2020
Summary:
Make the Android app bundle size report more legible, and update existing reports if possible.

## Changelog

[Internal] [Changed] - Update existing app bundle size report if possible
[Internal] [Changed] - Generate table for APK sizes report
Pull Request resolved: facebook#28169

Test Plan:
- App bundle size reports should be updated when possible
- Android apk sizes should be reported using a table

Reviewed By: cpojer

Differential Revision: D20141490

Pulled By: hramos

fbshipit-source-id: 3fc1b808b27e893c0a3e4e34eafc39094448799c
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. Merged This PR has been merged. p: Microsoft Partner: Microsoft Partner
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants