Xcode 6.1.1: Profile benchmark tests in Instruments with a click

Originator:rix.rob
Number:rdar://19177795 Date Originated:08-Dec-2014 01:39 PM
Status:Open Resolved:
Product:Developer Tools Product Version:Xcode 6.1.1 (6A2008a)
Classification:Enhancement Reproducible:Always
 
Summary:
XCTestCase’s measureBlock method is handy for benchmarking, but it’s not obvious how to get from there to Instruments when I’ve regressed performance. It would be really nice to be able to immediately jump to profiling the tests—and especially *specific* tests—with a click or two. These runs shouldn’t be recorded as statistics (because they’re biased by the presence of the profiler), but I *should* be able to compare runs before and after in the absence of the profiler to ensure that I was successful.


Steps to Reproduce:
N/A.


Expected Results:
N/A.


Actual Results:
N/A.


Regression:
N/A.


Notes:
N/A.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com 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!