[
https://issues.apache.org/jira/browse/ARROW-7785?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kenta Murata reassigned ARROW-7785:
-----------------------------------
Assignee: Kenta Murata
> [C++] sparse_tensor.cc is extremely slow to compile
> ---------------------------------------------------
>
> Key: ARROW-7785
> URL: https://issues.apache.org/jira/browse/ARROW-7785
> Project: Apache Arrow
> Issue Type: Bug
> Components: C++
> Reporter: Antoine Pitrou
> Assignee: Kenta Murata
> Priority: Minor
>
> This comes up especially when doing an optimized build. {{sparse_tensor.cc}}
> is always enabled even if all components are disabled, and it takes multiple
> seconds to compile.
> Using [CLangBuildAnalyzer|https://github.com/aras-p/ClangBuildAnalyzer] I get
> the following results:
> {code}
> **** Files that took longest to codegen (compiler backend):
> 66372 ms:
> build-clang-profile/src/arrow/CMakeFiles/arrow_objlib.dir/sparse_tensor.cc.o
> 16457 ms:
> build-clang-profile/src/arrow/CMakeFiles/arrow_objlib.dir/array/diff.cc.o
> 6283 ms:
> build-clang-profile/src/arrow/CMakeFiles/arrow_objlib.dir/scalar.cc.o
> 5284 ms:
> build-clang-profile/src/arrow/CMakeFiles/arrow_objlib.dir/builder.cc.o
> 5090 ms:
> build-clang-profile/src/arrow/CMakeFiles/arrow_objlib.dir/array/dict_internal.cc.o
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)