Most of the time you probably should be doing incremental builds instead of clean builds (it's very rare to see incremental build issues anymore), so clean build numbers should be somewhat less important than they used to be. If you're interested in diving into your build's performance, we've got some documentation at build/soong/docs/perf.md <https://cs.android.com/android/platform/superproject/+/master:build/soong/docs/perf.md>
I'll post some numbers tomorrow about what we see at Google, but a few more important pieces of information for anyone sharing: - What branch you checked out (master around X date, android tagged release, etc) - Which product and variant you're building (aosp_arm64-userdebug can be very different from aosp_arm-eng, others can be even more different) - What you're building (`m sync` is faster than `m [droid]` which is faster than `m dist`) - Any other options you may be providing to the build (there are options to turn on code coverage analysis, clang-tidy, errorprone, etc -- all of these add more work) Even with the same source tree and machine, you can easily get at least a 2-3x spread in build times with different products, targets, and options. - Dan On Wed, Oct 27, 2021 at 3:50 AM William Durham <williamdurha...@gmail.com> wrote: > With a SN550 1tb nvme home directory and 500gb nvme for my out directory, > core i5 10600k, 32gb ram, from a fresh sync, no ccache, its 2hrs or so here > > On Tue, Oct 26, 2021 at 4:32 PM vzl...@gmail.com <vzl...@gmail.com> wrote: > >> Hi everyone, >> >> I'm interacted on the compiling time for AOSP project in different >> systems. >> >> If you have the time to share some results about building time and you >> system information to be a reference for anyone please do. >> >> I will start: >> AOSP: Android 11 >> CPU: i7-8550U >> RAM: 32G and 16G swap >> Disk: HDD >> Time for full clean compile: 6~7h >> >> For me there is huge bottleneck because the HDD. >> >> >> -- >> -- >> You received this message because you are subscribed to the "Android >> Building" mailing list. >> To post to this group, send email to android-building@googlegroups.com >> To unsubscribe from this group, send email to >> android-building+unsubscr...@googlegroups.com >> For more options, visit this group at >> http://groups.google.com/group/android-building?hl=en >> >> --- >> You received this message because you are subscribed to the Google Groups >> "Android Building" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to android-building+unsubscr...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/android-building/016992b7-4834-4ebf-9bc6-b77a1b7b13b0n%40googlegroups.com >> <https://groups.google.com/d/msgid/android-building/016992b7-4834-4ebf-9bc6-b77a1b7b13b0n%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- > -- > You received this message because you are subscribed to the "Android > Building" mailing list. > To post to this group, send email to android-building@googlegroups.com > To unsubscribe from this group, send email to > android-building+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-building?hl=en > > --- > You received this message because you are subscribed to the Google Groups > "Android Building" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to android-building+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/android-building/CAKBspjzjk5XORjhsF_UNghJ6Fa7%3DwCHO%2BBisY-Gn7d2r8aZ4qg%40mail.gmail.com > <https://groups.google.com/d/msgid/android-building/CAKBspjzjk5XORjhsF_UNghJ6Fa7%3DwCHO%2BBisY-Gn7d2r8aZ4qg%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- -- You received this message because you are subscribed to the "Android Building" mailing list. To post to this group, send email to android-building@googlegroups.com To unsubscribe from this group, send email to android-building+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-building?hl=en --- You received this message because you are subscribed to the Google Groups "Android Building" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-building+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/android-building/CALQgHdkPBbGZSmuiZQS6tkta9yjY_KDohtsKnvpwFr1czb23Gw%40mail.gmail.com.