A python library that captures the three basic capabilities of a game on Android -- Total PSS (physical memory used by applications, including proportionally Shared library memory), CPU usage, and FPS (frame rate).
The above data are all obtained by adb tool.
pip install gauto-profilerimport os
from gauto_profiler import profiler
from gauto_profiler import config
os.chdir(os.path.dirname(os.path.abspath(__file__)))
config.setup(serial="5366a3d3", output_path="output", html_save_path="output/render.html")
profiler.run(300)