Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Cache result of uses_swift and should_build #5837
We have a large project and our
Based on an old profile we did (http://danielribeiro.github.io/braintree_ios/ProfileForCallStackPrinter.html) it seems that during installation a lot of time is spent for checking if a target can be built or if it uses swift.
This small change speeds up our
@segiddins the only concern is if that value should be invalidated at any point. For example, is there a chance the
I don't have a new profile run to tell you the exact numbers, but as I said in the initial description, it took our pod install time down to 1 minute from 1 minute and ~40 seconds.
In another app it took it down from 23 seconds to 12.
Again this is mostly our environment that has 100+ pods being installed with a lot of files.