DEV Community

Discussion on: Android Vitals - When did my app start? ⏱

Collapse
 
androiddeveloperlb profile image
AndroidDeveloperLB

Speaking of measuring time, is there a way to measure all functions that are being called (especially of various libraries the project uses), till some specific function call, and then look at what could be optimized to make the app-boot better?

Collapse
 
pyricau profile image
Py ⚔

You can either use tooling that modifies the bytecode to add timing measurements everywhere, or you can turn capture a profiling trace via the Debug class.