vincev commented on issue #4973: URL: https://github.com/apache/arrow-datafusion/issues/4973#issuecomment-1619815087
@alamb spent a bit of time looking at the median aggregator, I was able to reduce the time from ~22secs to ~2secs by reducing the number of allocations: ``` $ time ./target/release/datafusion-median +--------------+--------------+----------+ | payment_type | total_amount | n | +--------------+--------------+----------+ | 5 | 5.275 | 6 | | 3 | 7.7 | 194323 | | 4 | -6.8 | 244364 | | 0 | 23.0 | 1368303 | | 2 | 13.3 | 7763339 | | 1 | 16.56 | 30085763 | +--------------+--------------+----------+ real 0m2.514s user 0m4.725s sys 0m1.765s ``` I have created https://github.com/apache/arrow-datafusion/pull/6837. -- 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]
