Whole Module Optimisation | Swift

TAGS:

iOS, programming, coredata, database, xcode, Optimization, level, external, local, defination, WMO

Introduction:

Whole Module Optimisation, Its something like improvements to the tools give you the more performance with little efforts. Whole Module Optimisation is new option introduce in Xcode 7 as it allows the swift optimiser to include all source files in a module for optimisation. Apple also recommend to use it for improving the completion time. A small test(source: Google.com) that do 1,00,000 iterations on 5th generation iPad touch gives these results.

Test Summary:

Optimisation Level: None

External definition: 0.128 seconds

Local definition: 0.119 seconds

Optimisation Level: Fast

External definition: 0.099 seconds

Local definition: 0.088 seconds

Optimisation Level: Fast,WMO

External definition: 0.088 seconds

Local definition: 0.088 seconds

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s