Giter Club home page Giter Club logo

Comments (18)

edwardstock avatar edwardstock commented on June 19, 2024 2

Oh my god! You are save my nerves!
Before (macbook pro late 2012 i5 8G ram): 2-3 minutes
After (hackintosh i7 3770 16G ram): 15-20 seconds! This is awesome!

from mainframer.

crysxd avatar crysxd commented on June 19, 2024 1

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.

MacBook Pro 13 2015  (i5-5257U, 8GB)  ->    02:03
Workstation (i7 [email protected], 16GB)   ->    00:20         
c4.2xlarge (8 cores, 32 GB)   ->    00:23
c4.xlarge (4 cores, 16 GB)      ->    00:30
t2.xlarge (4 cores, 7.5 GB)    ->    00:30

CPU is always maxed out during builds, but only 3GB of RAM are used.

from mainframer.

PaulWoitaschek avatar PaulWoitaschek commented on June 19, 2024 1

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 👍

from mainframer.

eduardb avatar eduardb commented on June 19, 2024

It would also be cool if you could include profiling around (un)archiving/moving the files around. Cheers!

from mainframer.

artem-zinnatullin avatar artem-zinnatullin commented on June 19, 2024

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!

from mainframer.

rocboronat avatar rocboronat commented on June 19, 2024

Great comparison, thanks @crysxd !

from mainframer.

arturdryomov avatar arturdryomov commented on June 19, 2024

Probably we should mention in the readme that better CPU most likely is better than better RAM.

from mainframer.

crysxd avatar crysxd commented on June 19, 2024

@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.

from mainframer.

artem-zinnatullin avatar artem-zinnatullin commented on June 19, 2024

@crysxd ok!

@ming13 I think we can just put a link to this issue into README so users could check results of others and add theirs, not sure we're that good in benchmarking to give precise performance comparison tables or something like this.

from mainframer.

meierjan avatar meierjan commented on June 19, 2024

Local:
MacBook Pro 15" - Mid 2015 - 2,5 GHz i7 - 16 GB Ram:
~43 Sec

Remote:
Intel Core i7-6700K 4000 1151 BOX
SSD 240GB 440/535 Z410 SA3 SDK
2x 16GB 2133-15 CRU
21 sec

from mainframer.

rocboronat avatar rocboronat commented on June 19, 2024

Thanks for collaborating! :·)

from mainframer.

Tagakov avatar Tagakov commented on June 19, 2024

Local: (depends on hardware)
Clean 180-360 sec
Incremental 40-180 sec

Remote:
Clean 50 sec
Remote 30 sec

from mainframer.

balachandarlinks avatar balachandarlinks commented on June 19, 2024

Local:
Macbook Pro 13" - Early 2015 - 2.7 GHz Intel Core i5 - 8 GB 1867 MHz DDR3 RAM
~3 mins

Remote:
Desktop - 32GB ram - Intel Core I7 6700K - SSD 512GS Samsung 960 Pro
Mainframer Docker Container (Android build tools on Ubuntu)- Allowed 4 cores and 12 GB RAM
~ 40 secs

from mainframer.

rocboronat avatar rocboronat commented on June 19, 2024

❤️

from mainframer.

PaulWoitaschek avatar PaulWoitaschek commented on June 19, 2024

MacBook Pro 13 2015 (i5-5257U, 8GB) -> 02:03
Workstation (i7 [email protected], 16GB) -> 00:20
c4.2xlarge (8 cores, 32 GB) -> 00:23
c4.xlarge (4 cores, 16 GB) -> 00:30
t2.xlarge (4 cores, 7.5 GB) -> 00:30

Can someone explain why builds with only 7.5gb ram are so much faster than on the Mac with the same amount?

from mainframer.

arturdryomov avatar arturdryomov commented on June 19, 2024

@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.

from mainframer.

crysxd avatar crysxd commented on June 19, 2024

@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.

from mainframer.

vibin avatar vibin commented on June 19, 2024

This tool might have just saved my MBP from choking. Thank you!

Normal builds: 20-25 secs
Clean builds: 50 secs

On a t2.large EC2 instance, with a lot of kapt (AutoValue and data-binding)!

from mainframer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.