DEV Community

Cover image for How I reduced my app size from 75MB to 34MB !!

How I reduced my app size from 75MB to 34MB !!

Suyash Vashishtha on September 27, 2024

🕜 The Lore So recently I was hired by Neurobridge Tech. as a Senior Mobile app developer to develop and lead end-to-end product developm...
Collapse
 
stretch0 profile image
Andrew McCallum •

Out of curiosity what changes specifically improved the app performance by 80% and how did you measure that?

Typically the smaller app size doesn't directly improve performance by itself, especially 80%.

Where was the performance improvement? On cpu usage or memory usage?

Collapse
 
suyashdev profile image
Suyash Vashishtha • • Edited

Well, the speed matrix,

  • The response which was generating increased in speed and stability
  • Reduced network requests to 50-60%
  • Whole was freezing while we were generating the response
  • CPU usage in the OS got reduced
  • Store Reviews went from 3.5 to 4.1 ( If that still counts :) )
  • Better Error handlings
  • Reduced Application lifecycles & Re-Renders
  • Fixed mulitple Memory leaks
Collapse
 
vickerdent profile image
Vickerdent •

Nice!

Collapse
 
tofe19 profile image
ToFe •

At the beginning of the article there is a typo:
Neurobrdige should be Neurobridge

Collapse
 
suyashdev profile image
Suyash Vashishtha •

Thanks mate, really appreciate it 🙌

Collapse
 
ngtduc693 profile image
Duc Nguyen Thanh •

Good jobs bro

Collapse
 
lexlohr profile image
Alex Lohr •

Now switch to tauri to get that size even more down.

Collapse
 
suyashdev profile image
Suyash Vashishtha •

Isn't Tauri desktop framework?

Collapse
 
lexlohr profile image
Alex Lohr •

Desktop and mobile (since 2.0).

Collapse
 
kannanrjp profile image
kannan-rjp •

How many days it was take for this change?

Collapse
 
suyashdev profile image
Suyash Vashishtha •

2 Weeks of refactoring approx