DescriptionRevert of Use --num-thread=10 when dexing Android code (saves 5 seconds) (patchset #1 id:1 of https://codereview.chromium.org/1109193002/)
Reason for revert:
This patch makes the creation of dex files non-deterministic -- dex files from different runs of the same build might not be exactly similar.
This is a problem because for 64-bit webview APKs we need to merge a 32-bit APK into the 64-bit APK (to make 32-bit apps work). When we do this we check that the files in the different APks are similar and this check doesn't work if the dex files in the two APKs are not exactly the same.
https://code.google.com/p/chromium/issues/detail?id=483665
Original issue's description:
> Use --num-thread=10 when dexing Android code (saves 5 seconds)
>
> Timing for creating chrome_apk/classes.dex:
>
> No flag:
> real 0m10.767s
> user 0m16.480s
> sys 0m0.444s
>
> --num-threads=4
> real 0m7.450s
> user 0m11.837s
> sys 0m0.606s
>
> --num-threads=10 (or 20, or 80)
> real 0m5.399s
> user 0m9.266s
> sys 0m0.420s
>
> Timings performed on a z620 workstation.
>
> BUG=
>
> Committed: https://crrev.com/0f9ad3a20275b77d228f67c2edd89dbea0e3e9ea
> Cr-Commit-Position: refs/heads/master@{#327358}
TBR=cjhopman@chromium.org,thestig@chromium.org,agrieve@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=
Committed: https://crrev.com/a9975e3af252dbb1f28b55ed5398731e576b482e
Cr-Commit-Position: refs/heads/master@{#328521}
Patch Set 1 #
Created: 5 years, 7 months ago
(Patch set is too large to download)
Messages
Total messages: 16 (3 generated)
|