Can we set the benchmark test programmatically in xcode?

I wrote some performance tests using the XCTest framework in my project. I was wondering if it is possible to set a baseline for performance testing programmatically before the first run, or if there is another way to set the baseline other than the performance results window.

+3


source to share


1 answer


If you click on the gray diamond button next to your block measure

, you will open a pop-up window where you can register the latest performance result as a baseline.



-4


source







All Articles