Skip to content
This repository has been archived by the owner on Jan 3, 2022. It is now read-only.

Updates times using "new build system" and Xcode 9.3 #62

Merged
merged 2 commits into from
Mar 11, 2018
Merged

Updates times using "new build system" and Xcode 9.3 #62

merged 2 commits into from
Mar 11, 2018

Conversation

djromero
Copy link
Contributor

@djromero djromero commented Mar 11, 2018

Almost 50% faster \o/

Lap times for fresh builds: (19,21 + 17,67 + 18,65) / 318,51
And for incremental builds: (6,92 + 7,00 + 6,98) / 36,97

The build machine is a 6420's geek bench single-core score custom built mini-ITX PC:

  • i7-8700K 4.70 GHZ slightly overclocked
  • 32 GB DDR4 memory
  • SSD
  • Air coolers

Almost 50% faster \o/

Lap times for fresh builds: (19,21 + 17,67 + 18,65) / 3 -> 18,51
And for incremental builds: (6,92 + 7,00 + 6,98) / 3 -> 6,97
@ashfurrow
Copy link
Owner

Cool! That's exciting 😄 Can you leave the old result with the old build system?

@djromero
Copy link
Contributor Author

@ashfurrow done

Copy link
Owner

@ashfurrow ashfurrow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Super thanks!

@ashfurrow ashfurrow merged commit 73c6b68 into ashfurrow:master Mar 11, 2018
@michael-mckenna
Copy link
Contributor

@djromero Damn this is twice as fast as my Hackintosh. Does this include simulator booting up too? If so, something is probably wrong with my rig 😳

@djromero
Copy link
Contributor Author

How could it not include simulator booting? This is not a contest, just a collection of measurements.
Have you noticed that I'm using Xcode 9.3? It's way faster than 9.2 with swift projects.

@michael-mckenna
Copy link
Contributor

You can build a project without running it thus not requiring the simulator to boot. Anyway, my message wasn’t intended to come off as competitive - as I mentioned, i was just concerned if something was amiss with my rig with similar specs.

I’ll have to check out the Xcode 9.3 beta, thanks for pointing that out!

@tylerjames
Copy link

@djromero Do you happen to have a link that describes what went into that PC build? Those times are damned impressive

@raytorres280
Copy link

How is it possible that just an 8700K beat out both 10 and 18 core iMacs??

@djromero
Copy link
Contributor Author

djromero commented Apr 3, 2018

My guess: the swift toolchain doesn't take advantage of all available cores, beyond 4 or 6 cores it doesn't matter.
I don't know how an i7 core compares with iMac Pro's core, I guess they're pretty similar or even more powerful.

But I'm no compiler expert, if you're curious you may ask in the swift mailing list and let us know what you discover.

@djromero
Copy link
Contributor Author

djromero commented Apr 3, 2018

@tylerjames I don't have the part list at hand but pick any that includes an i7 (7th or 8th generation) and at least 16GB of RAM and you'll be good

@d-o-e
Copy link

d-o-e commented Jul 14, 2018

Are you having any problems with xcassets ?
When I add any kind of file (drag txt png jpeg) xcode goes down in flames

@ergunkocak
Copy link
Contributor

@djromero is it a hackintosh? If so please write a blog post or make a video about the monster you have :) That would be really great. If its not a hackintosh what it is exactly? I am asking these because i am planning to upgrade my tools but having a really hard time to decide.

@beeradmoore
Copy link
Contributor

You can build a project without running it thus not requiring the simulator to boot.

All the times in this project are not build times, they are times it takes for the project to build, simulator to boot and app to launch on it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants