stripe-android icon indicating copy to clipboard operation
stripe-android copied to clipboard

[Financial Connections] Add an action to analyze binary size for example app with emerge tools

Open carlosmuvi-stripe opened this issue 3 years ago • 1 comments

Summary

Motivation

Testing

  • [ ] Added tests
  • [ ] Modified tests
  • [ ] Manually verified

Screenshots

Before After
before screenshot after screenshot

Changelog

carlosmuvi-stripe avatar Aug 14 '22 14:08 carlosmuvi-stripe

Diffuse output:

OLD: financial-connections-example-release-base.apk (signature: V1, V2)
NEW: financial-connections-example-release-pr.apk (signature: V1, V2)

          │          compressed           │           uncompressed           
          ├───────────┬───────────┬───────┼─────────────┬─────────────┬──────
 APK      │ old       │ new       │ diff  │ old         │ new         │ diff 
──────────┼───────────┼───────────┼───────┼─────────────┼─────────────┼──────
      dex │   4.2 MiB │   4.2 MiB │   0 B │    10.6 MiB │    10.6 MiB │  0 B 
     arsc │   1.6 MiB │   1.6 MiB │   0 B │     1.6 MiB │     1.6 MiB │  0 B 
 manifest │   3.3 KiB │   3.3 KiB │   0 B │    15.1 KiB │    15.1 KiB │  0 B 
      res │ 661.8 KiB │ 661.8 KiB │   0 B │ 1,011.4 KiB │ 1,011.4 KiB │  0 B 
    asset │  78.2 KiB │  78.2 KiB │  +1 B │   102.7 KiB │   102.7 KiB │ +1 B 
    other │ 179.7 KiB │ 179.7 KiB │ +13 B │   404.5 KiB │   404.5 KiB │  0 B 
──────────┼───────────┼───────────┼───────┼─────────────┼─────────────┼──────
    total │   6.7 MiB │   6.7 MiB │ +14 B │    13.7 MiB │    13.7 MiB │ +1 B 

         │         raw          │          unique           
         ├───────┬───────┬──────┼───────┬───────┬───────────
 DEX     │ old   │ new   │ diff │ old   │ new   │ diff      
─────────┼───────┼───────┼──────┼───────┼───────┼───────────
   files │     2 │     2 │    0 │       │       │           
 strings │ 62509 │ 62509 │    0 │ 60454 │ 60454 │ 0 (+0 -0) 
   types │ 17012 │ 17012 │    0 │ 16198 │ 16198 │ 0 (+0 -0) 
 classes │ 14250 │ 14250 │    0 │ 14250 │ 14250 │ 0 (+0 -0) 
 methods │ 75935 │ 75935 │    0 │ 74431 │ 74431 │ 0 (+0 -0) 
  fields │ 54540 │ 54540 │    0 │ 53588 │ 53588 │ 0 (+0 -0) 

 ARSC    │ old  │ new  │ diff 
─────────┼──────┼──────┼──────
 configs │  287 │  287 │  0   
 entries │ 5706 │ 5706 │  0
APK
    compressed     │   uncompressed   │                               
───────────┬───────┼───────────┬──────┤                               
 size      │ diff  │ size      │ diff │ path                          
───────────┼───────┼───────────┼──────┼───────────────────────────────
    54 KiB │  +7 B │ 122.1 KiB │  0 B │ ∆ META-INF/CERT.SF            
  45.9 KiB │  +5 B │   122 KiB │  0 B │ ∆ META-INF/MANIFEST.MF        
   7.4 KiB │  +1 B │   7.3 KiB │ +1 B │ ∆ assets/dexopt/baseline.prof 
   1.2 KiB │  +1 B │   1.2 KiB │  0 B │ ∆ META-INF/CERT.RSA           
───────────┼───────┼───────────┼──────┼───────────────────────────────
 108.4 KiB │ +14 B │ 252.7 KiB │ +1 B │ (total)

github-actions[bot] avatar Aug 14 '22 14:08 github-actions[bot]