ulysses-you commented on a change in pull request #34310:
URL: https://github.com/apache/spark/pull/34310#discussion_r734281197
##########
File path: sql/core/benchmarks/ByteArrayBenchmark-results.txt
##########
@@ -0,0 +1,16 @@
+================================================================================================
Review comment:
Here is the old code path benchmark result:
JDK8
```
================================================================================================
byte array comparisons
================================================================================================
OpenJDK 64-Bit Server VM 1.8.0_312-b07 on Linux 5.8.0-1042-azure
Intel(R) Xeon(R) CPU E5-2673 v3 @ 2.40GHz
Byte Array compareTo: Best Time(ms) Avg Time(ms)
Stdev(ms) Rate(M/s) Per Row(ns) Relative
------------------------------------------------------------------------------------------------------------------------
2-7 byte 799 836
24 82.0 12.2 1.0X
8-16 byte 832 906
32 78.8 12.7 1.0X
16-32 byte 812 854
28 80.7 12.4 1.0X
512-1024 byte 1057 1088
20 62.0 16.1 0.8X
512 byte slow 24628 26054
NaN 2.7 375.8 0.0X
2-7 byte 811 849
23 80.8 12.4 1.0X
```
JDK11
```
================================================================================================
byte array comparisons
================================================================================================
OpenJDK 64-Bit Server VM 11.0.13+8-LTS on Linux 5.8.0-1042-azure
Intel(R) Xeon(R) CPU E5-2673 v4 @ 2.30GHz
Byte Array compareTo: Best Time(ms) Avg Time(ms)
Stdev(ms) Rate(M/s) Per Row(ns) Relative
------------------------------------------------------------------------------------------------------------------------
2-7 byte 771 812
28 85.0 11.8 1.0X
8-16 byte 839 857
13 78.1 12.8 0.9X
16-32 byte 898 926
17 73.0 13.7 0.9X
512-1024 byte 1141 1189
23 57.4 17.4 0.7X
512 byte slow 40124 40689
495 1.6 612.2 0.0X
2-7 byte 827 847
14 79.3 12.6 0.9X
```
--
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]