mightsleep commented on PR #26599: URL: https://github.com/apache/datafusion/pull/26599#issuecomment-7321329982
yep, it looks like that. With the code: the slower rows are all ASCII inputs, and ASCII inputs never reach what this PR changes. The ASCII check comes first and the work on that path is the same as before. With the numbers, same rows over the four bot runs, PR time / base time: | case | Oct 23 | Nov 19 | Nov 24, aligned | Nov 24 | |---|---:|---:|---:|---:| | right/string_view short_result | 0.99 | 1.23 | 0.94 | 1.23 | | right/string_view per_row_n | 0.79 | 1.17 | 0.78 | 1.17 | | left/string per_row_n | 0.96 | 1.13 | 1.02 | 1.12 | | left/string_view n_exceeds_len | 0.89 | 0.80 | 1.17 | 0.81 | Nov 19 and the last column are the same commits with the same flags, so they agree. Change the base or the alignment flags and the sign flips. Read the same way, I have a much better PR ready: two LLVM alignment flags, no code at all, and `left` on StringView gets 33 % faster on main. Sadly it also makes `right` 33 % slower... The rows that hold in every run are the non-ASCII ones: 4.7-8.2x on long results, 1.12-1.62x on short ones. -- 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]
