yaooqinn commented on issue #26622: [WIP][SPARK-28023][Test] Cheap UTF8String 
Trim
URL: https://github.com/apache/spark/pull/26622#issuecomment-557072074
 
 
   result of master branch
   ```java
   [info] Java HotSpot(TM) 64-Bit Server VM 1.8.0_231-b11 on Mac OS X 10.15.1
   [info] Intel(R) Core(TM) i5-5287U CPU @ 2.90GHz
   [info] Cast String to Integral:                  Best Time(ms)   Avg 
Time(ms)   Stdev(ms)    Rate(M/s)   Per Row(ns)   Relative
   [info] 
------------------------------------------------------------------------------------------------------------------------
   [info] cast(trim(str) as int) as c_int - with 1 spaces           8325        
  10555         NaN          1.0        1016.3       1.0X
   [info] cast(trim(str) as int) as c_int - with 3 spaces           5433        
   9608        1466          1.5         663.2       1.5X
   [info] cast(trim(str) as int) as c_int - with 5 spaces           3886        
   4517        1069          2.1         474.4       2.1X
   [info] cast(trim(str) as long) as c_long - with 1 spaces           4609      
     9463         666          1.8         562.7       1.8X
   [info] cast(trim(str) as long) as c_long - with 3 spaces           4086      
     6527        1472          2.0         498.8       2.0X
   [info] cast(trim(str) as long) as c_long - with 5 spaces           4607      
     6806         NaN          1.8         562.3       1.8X
   [info] cast(str as int) as c_int - with 1 spaces           3426           
3867         444          2.4         418.2       2.4X
   [info] cast(str as int) as c_int - with 3 spaces           3172           
3479         356          2.6         387.2       2.6X
   [info] cast(str as int) as c_int - with 5 spaces           2839           
3535        1037          2.9         346.6       2.9X
   [info] cast(str as long) as c_long - with 1 spaces           3098           
3585         668          2.6         378.1       2.7X
   [info] cast(str as long) as c_long - with 3 spaces           3178           
3456         340          2.6         388.0       2.6X
   [info] cast(str as long) as c_long - with 5 spaces           3094           
4358        1052          2.6         377.7       2.7X
   [info]
   ```

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to