Custom XCTOSSignpostMetric is broken for performance tests

Number:rdar://FB9794285 Date Originated:12/3/2021
Status:Open Resolved:
Product:XCTest Product Version:All
Classification: Reproducible:Yes
Custom use of XCTOSSignpostMetric is broken for use with XCTest. This would be extremely useful for us as we are trying to automate specific timing-related performance tests that we don’t have a good mechanism for measuring outside of signposts.

The XCTOSSignpostMetric.init(subsystem: category: name:) initializer does nothing.

I reduced the issue to the smallest example possible:


Run signpost UI tests
Observe that no performance data is captured


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!