zenoyang opened a new issue #7774:
URL: https://github.com/apache/incubator-doris/issues/7774


   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/incubator-doris/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### Description
   
   - In the current Column Filter, when it is judged that the mask is not all 
1, the elements will be traversed in a non-SIMD way, so there will be no 
performance improvement here. The test below also verifies this (currently 
sse_for).
       - code: 
https://github.com/apache/incubator-doris/blob/685f45229efb42b327a9351143115863a5fdcbed/be/src/vec/columns/columns_common.cpp#L202
   - Add AVX2 accelerated filtering
   
   
   I tested 6000000 elements to filter,The time consumption for each 
implementation is as follows:
   ```
   origin cost: 35820 microseconds
   sse cost: 29149 microseconds
   sse_for cost: 31396 microseconds
   avx2 cost: 26297 microseconds
   ```
   
   test code: https://godbolt.org/z/Gf6hvcnej
   
   
   
   ### Solution
   
   no
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to