BTW I'm interested in the time it takes to do predex + dex vs dex only (no
pre-dexing) for clean builds

It's worth it in incremental builds, but I'm suprised clean builds are so
much longer. I'd like to send some stats to the VM team (who owns dx)

thanks.



On Tue, Jan 7, 2014 at 11:36 PM, Xavier Ducrohet <x...@android.com> wrote:

> android {
>   dexOptions {
>     preDexLibraries = false
>   }
> }
>
>
> On Tue, Jan 7, 2014 at 3:13 PM, Jake Wharton <jakewhar...@gmail.com>wrote:
>
>> Well it's definitely pre-dexing. Can this be easily disabled for CI
>> builds?
>>
>> :app1:app1-app 3m14.13s
>>   :app1:app1-app:preDexDebug 1m5.23s
>>   :app1:app1-app:preDexDogfood 51.836s
>>   :app1:app1-app:preDexRelease 41.499s
>>
>> 81% of time spent pre-dexing
>>
>>
>> :app2:app2-v1 2m25.18s
>>   :app2:app2-v1:preDexRelease 39.274s
>>   :app2:app2-v1:preDexDogfood 38.637s
>>   :app2:app2-v1:preDexDebug 36.630s
>>
>> 78% of time spent pre-dexing
>>
>>
>> :app3:app3-app 2m18.30s
>>   :app3:app3-app:preDexRelease 45.504s
>>   :app3:app3-app:preDexDebug 36.681s
>>   :app3:app3-app:preDexDogfood 34.769s
>>
>> 84% of time spent pre-dexing
>>
>>
>> ---
>> Jake Wharton
>> http://about.me/jakewharton
>>
>>
>> On Mon, Jan 6, 2014 at 10:37 PM, Jake Wharton <jakewhar...@gmail.com>wrote:
>>
>>> They were clean builds, yes. I'll dig deeper tomorrow. It was the end of
>>> the work day for me when we started the comparisons.
>>>
>>>
>>> ---
>>> Jake Wharton
>>> http://about.me/jakewharton
>>>
>>>
>>> On Mon, Jan 6, 2014 at 6:07 PM, Xavier Ducrohet <x...@android.com> wrote:
>>>
>>>> incremental dexing has been disabled. There are some issues with it. We
>>>> have implemented pre-dexing though, but I'm not sure how the performance is
>>>> impacted.
>>>>
>>>> Are those time for clean builds? (which should not be impacted by the
>>>> removal of the incremental dex).
>>>>
>>>>
>>>> On Mon, Jan 6, 2014 at 4:50 PM, Jake Wharton <jakewhar...@gmail.com>wrote:
>>>>
>>>>> I forgot to ask a question... Is anyone else seeing anything like
>>>>> this?
>>>>>
>>>>> I see this on small pet projects too. I can perceive tasks taking 10x
>>>>> longer than when on 0.6.x. Usually those towards the latter end of the
>>>>> processing (preDex, dex, assemble).
>>>>>
>>>>> Still digging for more info to pinpoint what is happening.
>>>>>
>>>>>
>>>>> ---
>>>>> Jake Wharton
>>>>> http://about.me/jakewharton
>>>>>
>>>>>
>>>>> On Mon, Jan 6, 2014 at 4:44 PM, Jake Wharton <jakewhar...@gmail.com>wrote:
>>>>>
>>>>>> Our project builds have experienced a serious regression in terms of
>>>>>> performance upon upgrading to 0.7.x.
>>>>>>
>>>>>> Without --parallel:
>>>>>>
>>>>>>    - 0.6.x: 4m 21s
>>>>>>    - 0.7.x: 9m 04s
>>>>>>
>>>>>> With --parallel:
>>>>>>
>>>>>>    - 0.6.x: 3m 36s
>>>>>>    - 0.7.x: 6m 58s
>>>>>>
>>>>>> This project has 3 apps (each with three build types, no flavors), 4
>>>>>> library modules, and 3 java modules.
>>>>>>
>>>>>> ---
>>>>>> Jake Wharton
>>>>>> http://about.me/jakewharton
>>>>>>
>>>>>
>>>>>  --
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "adt-dev" group.
>>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>>> an email to adt-dev+unsubscr...@googlegroups.com.
>>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Xavier Ducrohet
>>>> Android SDK Tech Lead
>>>> Google Inc.
>>>> http://developer.android.com | http://tools.android.com
>>>>
>>>> Please do not send me questions directly. Thanks!
>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "adt-dev" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to adt-dev+unsubscr...@googlegroups.com.
>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>
>>>
>>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "adt-dev" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to adt-dev+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>
>
> --
> Xavier Ducrohet
> Android SDK Tech Lead
> Google Inc.
> http://developer.android.com | http://tools.android.com
>
> Please do not send me questions directly. Thanks!
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"adt-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adt-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to