[ https://issues.apache.org/jira/browse/ARROW-7785?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wes McKinney resolved ARROW-7785. --------------------------------- Fix Version/s: 1.0.0 Resolution: Fixed Issue resolved by pull request 6533 [https://github.com/apache/arrow/pull/6533] > [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 > Labels: pull-request-available > Fix For: 1.0.0 > > Time Spent: 3.5h > Remaining Estimate: 0h > > 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)