专项测试2-代码剖析技术

课前准备

  • android studio 4.0

method profile

def A():
  a=1;
  B()
  D()

def B():
  b=2
  C()

def C():
  c=3

def D():
  d=5
  d+=1
  C()
  B()

monitor

Android Studio Profile面板