2010YOUY01 commented on PR #27746: URL: https://github.com/apache/datafusion/pull/27746#issuecomment-7275535483
@mbutrovich It's ready for another look! I made some additional cleanups and optimizations in [6c79d50](https://github.com/apache/datafusion/pull/27746/commits/6c79d50e42d10bcf5ca3ee0a57566a021178c499). The changes only simplify the implementation and remove unnecessary indirections. The overall design remains unchanged. ## Benchmark Update Two rounds of benchmarks covering TPC-H (SF10), TPC-DS, HJ, and IMDB. Below are the improvements and regressions reproduced in both runs: - https://github.com/apache/datafusion/pull/27857 ### Improvements (reproduced in both runs): HJ: 18 queries 1.1–11x faster https://github.com/apache/datafusion/pull/27857#issuecomment-7269306132 TPC-H: Q7 1.1x faster https://github.com/apache/datafusion/pull/27857#issuecomment-7269320939 TPC-DS: Q72 2x faster https://github.com/apache/datafusion/pull/27857#issuecomment-7269320387 IMDB: 17 queries 1.05–2.12x faster https://github.com/apache/datafusion/pull/27857#issuecomment-7269483819 ### Regressions (>3% slower in both runs): IMDB Q24: 5.2% IMDB Q25: 4.5% IMDB Q26: 6.1% IMDB Q69: 4.8% No reproducible regressions (>3% slower in both runs) in TPC-H, TPC-DS, or HJ. ## Analysis IMDB Q24–Q26 correspond to case 2 described in https://github.com/apache/datafusion/pull/27746#issuecomment-7212961441. IMDB Q69 corresponds to case 1. These are inherent weak spots of the new design. Roughly 3% of the slowdown comes from the overhead of constructing the additional indirection layer (`MatchHandles`). I'll explore whether there are further opportunities to improve these cases. -- 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]
