mbutrovich commented on PR #12517: URL: https://github.com/apache/arrow-rs/pull/12517#issuecomment-7311908372
Before dd0979c38e457c838292df4479db60666d405cdb, `boolean_append_packed` was 0.90x on arm64 in both the default and the aligned run, while amd64 was within noise. | Run at fea69ef78c | Speedup | Merge-base | PR | |---|---:|---:|---:| | [arm64](https://github.com/apache/arrow-rs/pull/12517#issuecomment-7292762287) | 0.90x | 2.7 us | 3.0 us | | [arm64 aligned](https://github.com/apache/arrow-rs/pull/12517#issuecomment-7293240846) | 0.90x | 2.8 us | 3.1 us | | [amd64](https://github.com/apache/arrow-rs/pull/12517#issuecomment-7292788587) | 0.96x | 2.7 us | 2.8 us | | [amd64 aligned](https://github.com/apache/arrow-rs/pull/12517#issuecomment-7293201158) | 1.00x | 3.2 us | 3.2 us | Without LTO, the `byte_aligned_bitwise_bin_op_helper` instance behind `append_packed_range` called `BitChunks::new` out of line after the move. With `#[inline]` the call is gone on aarch64 and x86-64, and the helper drops from 539 to 415 instructions on aarch64. With the attribute, the default and aligned arm64 runs no longer show the same regression. The results at dd0979c are in the PR description. -- 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]
