XCUITest performance result metric has only duration

Viewed 326

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.

Thanks and regards.
Patrick

1 Answers

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.

Related