summaryrefslogtreecommitdiff
path: root/java/java.go
diff options
context:
space:
mode:
author Yi Kong <yikong@google.com> 2024-03-05 15:06:40 +0900
committer Yi Kong <yikong@google.com> 2024-03-07 07:02:45 +0000
commitce23b9ba161c807737e72e04d3914e22f68a4268 (patch)
tree8835d1c014b1db0116a84d9bd578cae547a29166 /java/java.go
parent972917d794e1f9a225fa3737cf648f4a8d044d31 (diff)
Enable full LTO optimization by default
We set the default optimization mode to --lto-O0 for LTO enabled projects, in order to save build time. This is missing some performance optimizations, esp. related to vectorization. Now that we suggest eng build for developers, we can enable full optimization by default. When we introduced --lto-O0, we achieved a 4.2% saving in system-processes-memory-direct. Enabling full LTO optimization will trade some of the memory / binary size savings for better code performance. For system-processes-memory-direct, it is 2.0% increase compared to --lto-O0, or a net 2.2% saving compared to baseline. Test: presubmit Bug: 328163089 Change-Id: Ia4d0f74e668ed057d6d9d6fc6c60196c2e355fb9
Diffstat (limited to 'java/java.go')
0 files changed, 0 insertions, 0 deletions