3

I created a XCUITest für measuring performance almost similar like in this WWDC video: https://developer.apple.com/videos/play/wwdc2020/10077/

With this measure part:

 measure (metrics: [XCTOSSignpostMetric.scrollDecelerationMetric]){
     tableView.swipeUp(velocity: .fast)
 }

Test is running fine and I am getting a result. But in the Performance Result I see as metric only the selected type Duration (Scroll Decerelation). There is no dropdown for choosing other types like the Hitch Time Ratio.
In the video the dropdown is shown at 9:05. What I have to do for getting the other metric options?

My XCode version is 12.3.

Patrick_K
  • 219
  • 2
  • 11

1 Answers1

3

I had the same issue until I tried to do it on device. Seems like this metric is not available because simulator doesn't have a GPU.

  • I can't remember if I tested on device or simulator. Currently I am not working with performance tests. But thanks for the hint! – Patrick_K Nov 05 '21 at 15:16