Omega359 commented on issue #13814:
URL: https://github.com/apache/datafusion/issues/13814#issuecomment-2549178206

   fwiw I tried to gather a bit more info with 
[llvm-lines](https://github.com/dtolnay/cargo-llvm-lines):
   
   `cargo llvm-lines -p datafusion --lib | head -20`
   
   ```
   Lines                  Copies               Function name
     -----                  ------               -------------
     1220519                36986                (TOTAL)
       44221 (3.6%,  3.6%)    423 (1.1%,  1.1%)  <alloc::vec::Vec<T> as 
alloc::vec::spec_from_iter_nested::SpecFromIterNested<T,I>>::from_iter
       25426 (2.1%,  5.7%)    265 (0.7%,  1.9%)  
alloc::vec::Vec<T,A>::extend_desugared
       22436 (1.8%,  7.5%)    142 (0.4%,  2.2%)  
<arrow_array::array::primitive_array::PrimitiveArray<T> as 
core::iter::traits::collect::FromIterator<Ptr>>::from_iter
       21263 (1.7%,  9.3%)     45 (0.1%,  2.4%)  
<core::iter::adapters::flatten::FlattenCompat<I,U> as 
core::iter::traits::iterator::Iterator>::size_hint
       16910 (1.4%, 10.7%)    151 (0.4%,  2.8%)  <core::slice::iter::Iter<T> as 
core::iter::traits::iterator::Iterator>::fold
       15949 (1.3%, 12.0%)    172 (0.5%,  3.2%)  
alloc::vec::Vec<T,A>::extend_trusted
       12204 (1.0%, 13.0%)    116 (0.3%,  3.6%)  
<core::iter::adapters::GenericShunt<I,R> as 
core::iter::traits::iterator::Iterator>::try_fold::{{closure}}
       10585 (0.9%, 13.8%)     88 (0.2%,  3.8%)  
<alloc::vec::into_iter::IntoIter<T,A> as 
core::iter::traits::iterator::Iterator>::try_fold
       10438 (0.9%, 14.7%)    295 (0.8%,  4.6%)  
<core::iter::adapters::map::Map<I,F> as 
core::iter::traits::iterator::Iterator>::next
        9702 (0.8%, 15.5%)     53 (0.1%,  4.7%)  
alloc::vec::in_place_collect::from_iter_in_place
        8645 (0.7%, 16.2%)     13 (0.0%,  4.8%)  std::io::default_read_to_end
        8256 (0.7%, 16.9%)    116 (0.3%,  5.1%)  
core::iter::adapters::try_process
        7939 (0.7%, 17.5%)    356 (1.0%,  6.0%)  alloc::boxed::Box<T>::new
        7673 (0.6%, 18.2%)    236 (0.6%,  6.7%)  
core::iter::adapters::map::map_fold::{{closure}}
        7375 (0.6%, 18.8%)      1 (0.0%,  6.7%)  
datafusion::physical_planner::DefaultPhysicalPlanner::map_logical_node_to_physical::{{closure}}
        7352 (0.6%, 19.4%)    241 (0.7%,  7.3%)  
tokio::loom::std::unsafe_cell::UnsafeCell<T>::with_mut
        7317 (0.6%, 20.0%)    102 (0.3%,  7.6%)  
core::iter::traits::iterator::Iterator::try_fold
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to