Joe McDonnell created IMPALA-12175:
--------------------------------------
Summary: Reduce debug info for bit-packing.cc to speed up compiling
Key: IMPALA-12175
URL: https://issues.apache.org/jira/browse/IMPALA-12175
Project: IMPALA
Issue Type: Improvement
Components: Backend
Affects Versions: Impala 4.3.0
Reporter: Joe McDonnell
be/src/util/bit-packing.cc creates a large number of variants. The object file
is enormous and takes a long time to assemble:
{noformat}
$ du -sh be/src/util/CMakeFiles/Util.dir/bit-packing.cc.o
223M be/src/util/CMakeFiles/Util.dir/bit-packing.cc.o{noformat}
This is due to debug information. Setting -g1 for this file reduces the size
dramatically:
{noformat}
$ du -sh be/src/util/CMakeFiles/Util.dir/bit-packing.cc.o
25M be/src/util/CMakeFiles/Util.dir/bit-packing.cc.o{noformat}
I don't think this debug information is very useful for us, because we almost
never step through or examine the variables for these functions. Limiting debug
info to -g1 (which is enough for stack traces) might be worth it.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)