-
-
Notifications
You must be signed in to change notification settings - Fork 120
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
BartyCrouch runs much slower with Xcode 10.2 #128
Comments
Thanks @fredpi for reporting this. I will investigate shortly, I didn't notice any slowdowns in BartyCrouch and the reported times are definitely a no-go. Could you please tell me how exactly you installed BartyCrouch? Did you use |
@Dschee Thanks for looking into this. I installed BartyCrouch via |
In trying to upgrade to BartyCrouch 4.0, we also saw some slowdown in Xcode 10.2
I believe the previous version we were on, 3.something (kinda old) was in the range of 5 seconds. We have a pretty big project, something in the order of 1500 swift files and our localizable strings files are ~3000 lines. Looks like most of the time is spent writing the files? Installed via brew, |
Today, I investigated a bit about this issue and found out that while the following line performs quickly, times add up so that it accounts for an estimated 80 - 90 % of the run times. The |
Here are two approaches, that don't make things faster:
|
I just did another measurement by removing the heavy line calculation and found out that 'Normalize' only took 0.373 sec (compared to ~22 sec previously). If we can't find a solution to make the calculation much faster, maybe there should be an option not to calculate the line... |
This fix doesn't work for me. I still get Task 'Code Transform' took 21.23 seconds with BartyCrouch 4.0.2, same as @fredpi. |
@Kondamon Is the |
|
Okay, in that case, could you please open a new issue specifically stating that the |
Since the update to Xcode 10.2, it feels like BartyCrouch runs much slower than previously.
Times like this happen on every build of a project where BartyCrouch once didn't noticeably delay builds with Xcode 10.1:
Make BartyCrouch fast again! 🥇
The text was updated successfully, but these errors were encountered: