The strungle is real. When I use mmm command on Android 8.1, I spend a lot 
of time here:

[2/2] bootstrap out/soong/.minibootstrap/build.ninja.in
[1/1] out/soong/.bootstrap/bin/minibp out/soong/.bootstrap/build.ninja
[1/1] out/soong/.bootstrap/bin/soong_build out/soong/build.ninja

in comparation with Android 7.1.

On Wednesday, January 10, 2018 at 10:41:56 PM UTC+7, Jeffrey Blattman wrote:
>
> Here are some numbers. Same code, same makefile. This is from a non-clean, 
> previously built module in both cases. So there should be nothing to do at 
> all.
>
> *On Nougat*
>
> SetupWizard $ time mm
> ============================================
> PLATFORM_VERSION_CODENAME=REL
> ... cut ...
> ============================================
> make: Entering directory `...'
> Running kati to generate build-d09ceb6bedfc4dba54e0e2e097f22474.ninja...
> No need to regenerate ninja file
> Starting build with ninja
> ninja: Entering directory `.'
> [100% 1/1] Ensure Jack server is installed and started
> Jack server already installed in "/home/jeff/.jack-server"
> Server is already running
> Bad request, see Jack server log
> make: Leaving directory `...'
>
> #### make completed successfully (2 seconds) ####
>
>
> *real 0m2.146s*
> user 0m0.700s
> sys 0m0.268s
>
>
> *On Oreo*
>
> SetupWizard $ time mm
> make: Entering directory `...'
> ============================================
> PLATFORM_VERSION_CODENAME=REL
> ... cut ...
> ============================================
> [2/2] bootstrap out/soong/.minibootstrap/build.ninja.in
> [1/1] out/soong/.bootstrap/bin/minibp out/soong/.bootstrap/build.ninja
> [1/1] out/soong/.bootstrap/bin/soong_build out/soong/build.ninja
> Clang SA is not enabled
> No need to regenerate ninja file
> [100% 1/1] out/soong/.bootstrap/bin/soong_build out/soong/build.ninja
> Clang SA is not enabled
> [100% 1/1] Ensuring Jack server is installed and started
> Jack server already installed in "/home/jeff/.jack-server"
> Server is already running
> make: Leaving directory `...'
>
> #### make completed successfully (23 seconds) ####
>
>
> *real 0m22.377s*
> user 1m4.048s
> sys 0m9.104s
>
> So on Oreo, it takes 22 seconds to perform a build that does nothing?
>
> ???
> Thanks.
>
>

-- 
-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to