advancedxy commented on PR #46265:
URL: https://github.com/apache/spark/pull/46265#issuecomment-2081471221

   Before applying changes in this PR, the benchmark code(in this PR) took:
   ```
   [info] OpenJDK 64-Bit Server VM 21.0.2 on Mac OS X 14.4.1
   [info] Apple M1
   [info] internal row comparable wrapper:          Best Time(ms)   Avg 
Time(ms)   Stdev(ms)    Rate(M/s)   Per Row(ns)   Relative
   [info] 
------------------------------------------------------------------------------------------------------------------------
   [info] toSet                                             10785          
11369         825          0.0       53925.3       1.0X
   [info] mergePartitions                                   21073          
21447         528          0.0      105364.5       0.5X
   ```
   
   After this PR:
   ```
   [info] OpenJDK 64-Bit Server VM 21.0.2 on Mac OS X 14.4.1
   [info] Apple M1
   [info] internal row comparable wrapper:          Best Time(ms)   Avg 
Time(ms)   Stdev(ms)    Rate(M/s)   Per Row(ns)   Relative
   [info] 
------------------------------------------------------------------------------------------------------------------------
   [info] toSet                                                85            
103          25          2.4         425.0       1.0X
   [info] mergePartitions                                     163            
167           4          1.2         816.3       0.5X
   
   ```


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