In the WWDC 15 video: Performance on iOS and watchOS, Ben Englert discusses Code Instrumentation using Swift and encourages developers to "profile the release configuration of your app...by creating a copy of your apps release scheme in xcode and define one addidtional 'define' so you can build a release version of your app with the performance instrumentation."
How do you acheive this? Also, how do you create 'defines' when creating swift only apps?
The snippet from the video below shows the usage of the 'define':
#if MEASURE_PERFORMANCE
let startTime = CFAbsoluteTimeGetCurrent()
#endif