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

[Identity] Add an action to analyze binary size for Identity example app with emerge tools #5397

Merged
merged 9 commits into from Aug 12, 2022

Conversation

ccen-stripe
Copy link
Collaborator

@ccen-stripe ccen-stripe commented Aug 11, 2022

Summary

Integrate with size diff and emerge tools

Motivation

Binary size analysis

Testing

  • Added tests
  • Modified tests
  • Manually verified

Screenshots

Before After
before screenshot after screenshot

Changelog

@ccen-stripe ccen-stripe changed the title test action Add an action to analyze binary size for Identity example app Aug 11, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Aug 12, 2022

Diffuse output:

OLD: identity-example-release-base.apk (signature: none)
NEW: identity-example-release-pr.apk (signature: none)

          │          compressed          │         uncompressed         
          ├───────────┬───────────┬──────┼───────────┬───────────┬──────
 APK      │ old       │ new       │ diff │ old       │ new       │ diff 
──────────┼───────────┼───────────┼──────┼───────────┼───────────┼──────
      dex │   6.3 MiB │   6.3 MiB │  0 B │  17.8 MiB │  17.8 MiB │  0 B 
     arsc │   1.1 MiB │   1.1 MiB │  0 B │   1.1 MiB │   1.1 MiB │  0 B 
 manifest │   1.9 KiB │   1.9 KiB │  0 B │   6.6 KiB │   6.6 KiB │  0 B 
      res │ 392.8 KiB │ 392.8 KiB │  0 B │ 604.4 KiB │ 604.4 KiB │  0 B 
   native │ 115.9 MiB │ 115.9 MiB │  0 B │ 377.5 MiB │ 377.5 MiB │  0 B 
    asset │   9.3 KiB │   9.3 KiB │  0 B │     9 KiB │     9 KiB │  0 B 
    other │  28.2 KiB │  28.2 KiB │  0 B │  27.1 KiB │  27.1 KiB │  0 B 
──────────┼───────────┼───────────┼──────┼───────────┼───────────┼──────
    total │ 123.8 MiB │ 123.8 MiB │  0 B │   397 MiB │   397 MiB │  0 B 

         │          raw           │           unique            
         ├────────┬────────┬──────┼────────┬────────┬───────────
 DEX     │ old    │ new    │ diff │ old    │ new    │ diff      
─────────┼────────┼────────┼──────┼────────┼────────┼───────────
   files │      2 │      2 │    0 │        │        │           
 strings │ 117140 │ 117140 │    0 │ 107266 │ 107266 │ 0 (+0 -0) 
   types │  16809 │  16809 │    0 │  15760 │  15760 │ 0 (+0 -0) 
 classes │  14144 │  14144 │    0 │  14144 │  14144 │ 0 (+0 -0) 
 methods │ 108217 │ 108217 │    0 │ 105155 │ 105155 │ 0 (+0 -0) 
  fields │  77144 │  77144 │    0 │  76900 │  76900 │ 0 (+0 -0) 

 ARSC    │ old  │ new  │ diff 
─────────┼──────┼──────┼──────
 configs │  260 │  260 │  0   
 entries │ 4871 │ 4871 │  0

@ccen-stripe ccen-stripe changed the title Add an action to analyze binary size for Identity example app [Identity] Add an action to analyze binary size for Identity example app Aug 12, 2022
@ccen-stripe ccen-stripe marked this pull request as ready for review August 12, 2022 20:05
@ccen-stripe ccen-stripe enabled auto-merge (squash) August 12, 2022 20:31
@ccen-stripe ccen-stripe changed the title [Identity] Add an action to analyze binary size for Identity example app [Identity] Add an action to analyze binary size for Identity example app with emerge tools Aug 12, 2022
@ccen-stripe ccen-stripe merged commit aafb955 into master Aug 12, 2022
@ccen-stripe ccen-stripe deleted the ccen/githubActions branch August 12, 2022 20:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants