diff options
author | Yi Kong <yikong@google.com> | 2018-01-19 22:01:14 -0800 |
---|---|---|
committer | Yi Kong <yikong@google.com> | 2018-02-16 21:20:46 +0800 |
commit | 1d894d90634b3d685a5a1143dd84f0272b4a7dcd (patch) | |
tree | aee159e79816473f774863638693639e673d762d /compiler/optimizing/graph_visualizer.cc | |
parent | 2b7e1c6d04930361bafbd4959966341fa7c4a097 (diff) |
Enable ThinLTO for dex2oat
This helps reducing binary size as well as improve performance of
dex2oat.
On Marlin (lower clocked cores)
With PGO
dex2oat binary + libraries size:
- no-lto: 9.90MB
- thin-lto: 9.81MB
dex2oat run time for top 25 apps (with speed filter):
Average case: -2.83%
Best case : -4.65%
Worst case : 0.25%, likely noise
Without PGO
dex2oat binary + libraries size:
- no-lto: 9.67MB
- thin-lto: 9.60MB
dex2oat run time for top 25 apps (with speed filter):
Average case : -0.96%
Best case : -2.30%
Worst case : 0.52%, likely noise
Test: Benchmark on Marlin (low-clock cores)
Bug: 62839002
Change-Id: Iad39eae4c222b753dd2dab949a928151ea13e630
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions