Contents

About Profile Guided Optimization

Explains how to use Profile Guided Optimization with your projects.

At a Glance

Profile Guided Optimization provides a way to obtain more performance than you can get by using compiler options alone. Profiling gives the compiler detailed information about the most used code paths in the app.

You can automate the collection of profiles for PGO by using the Xcode testing framework, XCTest, for functional and performance measuring tests. Using tests to exercise the app when collecting the profile provides consistency and repeatability when you’ve constructed a good suite of tests for this purpose.

See Also

For information on how to create tests using the XCTest framework for your development projects, see Testing with Xcode .

Next

Copyright © 2014 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2014-09-17