Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve build time by splitting super large autogenerated .m files into smaller ones #361

Open
xjki opened this issue Nov 15, 2022 · 1 comment

Comments

@xjki
Copy link

xjki commented Nov 15, 2022

Currently largest .m file is DBTeamLogObjects.m - more than 180K lines of code with more than 5MB raw text. It alone takes more than 30 seconds to compile with Xcode14 on 3,2 GHz 6-Core Intel Core i7 Mac.

Second largest .m file is DBTeamObjects.m - more than 40K lines of code.

As these files are autogenerated anyway, it would be great if they would be splitted into multiple implementation (.m) parts that would make compilation of the library (and projects including it) multiple times faster thanks to parallelization of Xcode compilation. Also Xcode navigation features would not freeze trying to navigate these monsters.

This would make significant impact improving build times for every project using the library. Example: https://twitter.com/russshanahan/status/1592352159135191040

@greg-db
Copy link
Contributor

greg-db commented Nov 15, 2022

Thanks for the detailed message! I can't make any promises myself, but I'm sending this along to the team.

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

No branches or pull requests

2 participants