title: How to profile a test in Android Studio?
body: <p>My Android app has some slow running functionality. A unit test captures it perfectly. The unit test execution shows that it runs way slower than it should be.</p>
  
  <p>Android Studio keeps offering me next to the run method a menu option: "Profile" instead of run. I select that option, but nothing different than run seems to happen. I expected Android Studio to open a window with the timing of all the method calls after the test completes.</p>
  
  <p><a href="https://i.stack.imgur.com/Ya8x4.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Ya8x4.png" alt="enter image description here"></a></p>
  
  <p>I've searched Google and the Android site. Everything I find talks about profiling in Android Studio in general.</p>
  
  <p>How do I profile an Android unit test? (What does that profile option really do?)</p>