grorge123 opened a new pull request, #3758:
URL: https://github.com/apache/datafusion-comet/pull/3758

   ## Which issue does this PR close?
   
   Add microbenchmark for `sort_array` (#3706)
   
   ## Rationale for this change
   
   Add a new microbenchmark to compare the performance between Comet and Spark.
   
   ## What changes are included in this PR?
   
   Each benchmark will sort 4,194,304 rows. Each array contains integer and 
null values.
   This PR includes four benchmarks.
   - ascending sort
   - descending sort
   - more large array for ascending sort
   - only take the first value for the sort array (Reduce the memory read 
impact)
   
   
   ## How are these changes tested?
   Run Benchmark: `SPARK_GENERATE_BENCHMARK_FILES=1 make 
benchmark-org.apache.spark.sql.benchmark.CometArrayExpressionBenchmark`
   <img width="1035" height="798" alt="image" 
src="https://github.com/user-attachments/assets/9e4c4c52-0a80-4900-986b-95517c4db60c";
 />


-- 
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]

Reply via email to