-
Notifications
You must be signed in to change notification settings - Fork 161
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
Share your performance results #17
Comments
It would also be cool if you could include profiling around (un)archiving/moving the files around. Cheers! |
I just share my performance comparisions here, maybe someone will find it helpful. We are using a AWS EC2 instance (t2.xlarge) to build the project in the cloud, works like a charm.
CPU is always maxed out during builds, but only 3GB of RAM are used. |
Nice! Btw, @crysxd please try v1.1.0 we've just released, should save you some time on transferring files between remote and local machines! |
Great comparison, thanks @crysxd ! |
Probably we should mention in the readme that better CPU most likely is better than better RAM. |
@artem-zinnatullin Already using v1.1.0, version v1.0.2 was not usable for cloud builds because of the big upload, rsync is perfect for this. I really can recommend using AWS for this. |
Local: Remote: |
Thanks for collaborating! :·) |
Local: (depends on hardware) Remote: |
Local: Remote: |
❤️ |
Can someone explain why builds with only 7.5gb ram are so much faster than on the Mac with the same amount? |
@PaulWoitaschek I would say that after a certain RAM threshold it matters very little. Compiling is mostly a CPU-intensive operation, especially DEX step for Android projects. Plus be aware that the build machine usually does the single thing — the build itself, when the laptop also runs DE, IDE, browser and so on. That’s all adds up and, well, you see the results yourself. |
@PaulWoitaschek your MacBook has only 2 cores (+ 2 hyperthreaded) with little low level caches, you should not compare this to 4 native cores on a server CPU. RAM does not matter at all, you just have to have enough to keep everything in memory while compiling. From a certain point on (e.g. 6 GB for a project), more RAM does not bring any benefits. |
This project is fantastic. Now I can sit on my couch with my crappy 2015 macbook and do actual programming instead of watching my mac getting too warm 👍 |
Oh my god! You are save my nerves! |
This tool might have just saved my MBP from choking. Thank you! Normal builds: 20-25 secs On a t2.large EC2 instance, with a lot of kapt (AutoValue and data-binding)! |
Great project! The first idea that came to my mind is: how much time I will save? Please, publish a simple comparison in the readme. Let's say "a project that takes 2 minutes to be assebled on my computer, takes 1 minute to be built in a server with 4 cores and 4 GB's". Or... close this issue if you think that it doesn't have sense :-)
Thanks for the work!
The text was updated successfully, but these errors were encountered: