Xcode 6.1.1: Benchmark tests should be in their own bundle, and run in release config
| Originator: | rix.rob | ||
| Number: | rdar://19177904 | Date Originated: | 08-Dec-2014 01:44 PM |
| Status: | Open | Resolved: | |
| Product: | Developer Tools | Product Version: | Xcode 6.1.1 (6A2008a) |
| Classification: | Enhancement | Reproducible: | Always |
Summary: Benchmark tests should probably not cohabit in the same bundle as unit tests. Xcode’s templates should set them up in a separate bundle, with the scheme configured to run them in release config automatically—there’s not much point in testing & measuring an unoptimized build when your users are going to be running an optimized one. Additionally they probably shouldn’t be run at the same time as the unit tests by default, since you’re probably going to want a high number of iterations to get better data out of the tests, and that would be counterproductive in the unit tests that you want to run with every build. I think they should be treated as a sort of integration test, and that a bundle should exist for these in the default templates, and that you should run them with a different key shortcut than the ⌘U used for unit tests. Xcode bots should probably run them all, tho. 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!