You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Antoine Pitrou (Jira)" <ji...@apache.org> on 2020/02/06 16:23:00 UTC

[jira] [Commented] (ARROW-7784) [C++] diff.cc is extremely slow to compile

    [ https://issues.apache.org/jira/browse/ARROW-7784?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17031724#comment-17031724 ] 

Antoine Pitrou commented on ARROW-7784:
---------------------------------------

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}


> [C++] diff.cc is extremely slow to compile
> ------------------------------------------
>
>                 Key: ARROW-7784
>                 URL: https://issues.apache.org/jira/browse/ARROW-7784
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: C++
>            Reporter: Antoine Pitrou
>            Priority: Minor
>
> This comes up especially when doing an optimized build. {{diff.cc}} is always enabled even if all components are disabled, and it takes multiple seconds to compile. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)