forked from apache/spark
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-49490][SQL] Add benchmarks for initCap
- Loading branch information
1 parent
e0a83f6
commit c755b68
Showing
5 changed files
with
324 additions
and
144 deletions.
There are no files selected for viewing
106 changes: 70 additions & 36 deletions
106
sql/core/benchmarks/CollationBenchmark-jdk21-results.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,54 +1,88 @@ | ||
OpenJDK 64-Bit Server VM 21.0.5+11-LTS on Linux 6.5.0-1025-azure | ||
AMD EPYC 7763 64-Core Processor | ||
OpenJDK 64-Bit Server VM 21.0.5+11-LTS on Linux 6.8.0-1017-aws | ||
Intel(R) Xeon(R) CPU E5-2686 v4 @ 2.30GHz | ||
collation unit benchmarks - equalsFunction: Best Time(ms) Avg Time(ms) Stdev(ms) Rate(M/s) Per Row(ns) Relative time | ||
-------------------------------------------------------------------------------------------------------------------------- | ||
UTF8_BINARY 1353 1357 5 0.1 13532.2 1.0X | ||
UTF8_LCASE 2601 2602 2 0.0 26008.0 1.9X | ||
UNICODE 16745 16756 16 0.0 167450.9 12.4X | ||
UNICODE_CI 16590 16627 52 0.0 165904.8 12.3X | ||
UTF8_BINARY 2220 2223 5 0.0 22197.0 1.0X | ||
UTF8_LCASE 4949 4950 2 0.0 49488.1 2.2X | ||
UNICODE 28172 28198 36 0.0 281721.0 12.7X | ||
UNICODE_CI 28233 28308 106 0.0 282328.2 12.7X | ||
|
||
OpenJDK 64-Bit Server VM 21.0.5+11-LTS on Linux 6.5.0-1025-azure | ||
AMD EPYC 7763 64-Core Processor | ||
OpenJDK 64-Bit Server VM 21.0.5+11-LTS on Linux 6.8.0-1017-aws | ||
Intel(R) Xeon(R) CPU E5-2686 v4 @ 2.30GHz | ||
collation unit benchmarks - compareFunction: Best Time(ms) Avg Time(ms) Stdev(ms) Rate(M/s) Per Row(ns) Relative time | ||
--------------------------------------------------------------------------------------------------------------------------- | ||
UTF8_BINARY 1746 1746 0 0.1 17462.6 1.0X | ||
UTF8_LCASE 2629 2630 1 0.0 26294.8 1.5X | ||
UNICODE 16744 16744 0 0.0 167438.6 9.6X | ||
UNICODE_CI 16518 16521 4 0.0 165180.2 9.5X | ||
UTF8_BINARY 2731 2733 2 0.0 27313.6 1.0X | ||
UTF8_LCASE 4611 4619 11 0.0 46111.4 1.7X | ||
UNICODE 28149 28211 88 0.0 281486.8 10.3X | ||
UNICODE_CI 27535 27597 89 0.0 275348.4 10.1X | ||
|
||
OpenJDK 64-Bit Server VM 21.0.5+11-LTS on Linux 6.5.0-1025-azure | ||
AMD EPYC 7763 64-Core Processor | ||
OpenJDK 64-Bit Server VM 21.0.5+11-LTS on Linux 6.8.0-1017-aws | ||
Intel(R) Xeon(R) CPU E5-2686 v4 @ 2.30GHz | ||
collation unit benchmarks - hashFunction: Best Time(ms) Avg Time(ms) Stdev(ms) Rate(M/s) Per Row(ns) Relative time | ||
------------------------------------------------------------------------------------------------------------------------ | ||
UTF8_BINARY 2808 2808 1 0.0 28076.2 1.0X | ||
UTF8_LCASE 5409 5410 0 0.0 54093.0 1.9X | ||
UNICODE 67930 67957 38 0.0 679296.7 24.2X | ||
UNICODE_CI 56004 56005 1 0.0 560044.2 19.9X | ||
UTF8_BINARY 4603 4618 22 0.0 46031.3 1.0X | ||
UTF8_LCASE 9510 9518 11 0.0 95097.7 2.1X | ||
UNICODE 135718 135786 97 0.0 1357176.2 29.5X | ||
UNICODE_CI 113715 113819 148 0.0 1137145.8 24.7X | ||
|
||
OpenJDK 64-Bit Server VM 21.0.5+11-LTS on Linux 6.5.0-1025-azure | ||
AMD EPYC 7763 64-Core Processor | ||
OpenJDK 64-Bit Server VM 21.0.5+11-LTS on Linux 6.8.0-1017-aws | ||
Intel(R) Xeon(R) CPU E5-2686 v4 @ 2.30GHz | ||
collation unit benchmarks - contains: Best Time(ms) Avg Time(ms) Stdev(ms) Rate(M/s) Per Row(ns) Relative time | ||
------------------------------------------------------------------------------------------------------------------------ | ||
UTF8_BINARY 1612 1614 2 0.1 16118.8 1.0X | ||
UTF8_LCASE 14509 14526 23 0.0 145092.7 9.0X | ||
UNICODE 308136 308631 700 0.0 3081364.6 191.2X | ||
UNICODE_CI 314612 314846 330 0.0 3146120.0 195.2X | ||
UTF8_BINARY 14957 14959 4 0.0 149568.0 1.0X | ||
UTF8_LCASE 49434 49617 259 0.0 494340.1 3.3X | ||
UNICODE 920911 921348 618 0.0 9209111.3 61.6X | ||
UNICODE_CI 988411 988822 582 0.0 9884107.7 66.1X | ||
|
||
OpenJDK 64-Bit Server VM 21.0.5+11-LTS on Linux 6.5.0-1025-azure | ||
AMD EPYC 7763 64-Core Processor | ||
OpenJDK 64-Bit Server VM 21.0.5+11-LTS on Linux 6.8.0-1017-aws | ||
Intel(R) Xeon(R) CPU E5-2686 v4 @ 2.30GHz | ||
collation unit benchmarks - startsWith: Best Time(ms) Avg Time(ms) Stdev(ms) Rate(M/s) Per Row(ns) Relative time | ||
------------------------------------------------------------------------------------------------------------------------ | ||
UTF8_BINARY 1913 1914 1 0.1 19131.3 1.0X | ||
UTF8_LCASE 9785 9788 5 0.0 97847.7 5.1X | ||
UNICODE 311517 311580 89 0.0 3115167.2 162.8X | ||
UNICODE_CI 316517 316660 201 0.0 3165173.7 165.4X | ||
UTF8_BINARY 17517 17523 9 0.0 175173.1 1.0X | ||
UTF8_LCASE 33605 33643 54 0.0 336053.8 1.9X | ||
UNICODE 916945 917042 139 0.0 9169445.3 52.3X | ||
UNICODE_CI 992431 992565 189 0.0 9924305.9 56.7X | ||
|
||
OpenJDK 64-Bit Server VM 21.0.5+11-LTS on Linux 6.5.0-1025-azure | ||
AMD EPYC 7763 64-Core Processor | ||
OpenJDK 64-Bit Server VM 21.0.5+11-LTS on Linux 6.8.0-1017-aws | ||
Intel(R) Xeon(R) CPU E5-2686 v4 @ 2.30GHz | ||
collation unit benchmarks - endsWith: Best Time(ms) Avg Time(ms) Stdev(ms) Rate(M/s) Per Row(ns) Relative time | ||
------------------------------------------------------------------------------------------------------------------------ | ||
UTF8_BINARY 1891 1891 0 0.1 18912.1 1.0X | ||
UTF8_LCASE 10089 10093 5 0.0 100893.6 5.3X | ||
UNICODE 336905 336931 36 0.0 3369051.8 178.1X | ||
UNICODE_CI 339944 340585 907 0.0 3399439.0 179.7X | ||
UTF8_BINARY 17482 17485 5 0.0 174819.0 1.0X | ||
UTF8_LCASE 33890 33925 49 0.0 338901.6 1.9X | ||
UNICODE 929570 930339 1087 0.0 9295702.4 53.2X | ||
UNICODE_CI 1002779 1003427 916 0.0 10027792.9 57.4X | ||
|
||
OpenJDK 64-Bit Server VM 21.0.5+11-LTS on Linux 6.8.0-1017-aws | ||
Intel(R) Xeon(R) CPU E5-2686 v4 @ 2.30GHz | ||
collation unit benchmarks - initCap using impl execICU: Best Time(ms) Avg Time(ms) Stdev(ms) Rate(M/s) Per Row(ns) Relative time | ||
-------------------------------------------------------------------------------------------------------------------------------------- | ||
UNICODE 507 509 1 0.2 5073.3 1.0X | ||
UNICODE_CI 478 500 17 0.2 4778.1 0.9X | ||
|
||
OpenJDK 64-Bit Server VM 21.0.5+11-LTS on Linux 6.8.0-1017-aws | ||
Intel(R) Xeon(R) CPU E5-2686 v4 @ 2.30GHz | ||
collation unit benchmarks - initCap using impl execBinaryICU: Best Time(ms) Avg Time(ms) Stdev(ms) Rate(M/s) Per Row(ns) Relative time | ||
-------------------------------------------------------------------------------------------------------------------------------------------- | ||
UTF8_BINARY 746 749 3 0.1 7461.5 1.0X | ||
UTF8_LCASE 747 752 7 0.1 7469.8 1.0X | ||
UNICODE 753 757 4 0.1 7529.8 1.0X | ||
UNICODE_CI 752 755 3 0.1 7524.4 1.0X | ||
|
||
OpenJDK 64-Bit Server VM 21.0.5+11-LTS on Linux 6.8.0-1017-aws | ||
Intel(R) Xeon(R) CPU E5-2686 v4 @ 2.30GHz | ||
collation unit benchmarks - initCap using impl execBinary: Best Time(ms) Avg Time(ms) Stdev(ms) Rate(M/s) Per Row(ns) Relative time | ||
----------------------------------------------------------------------------------------------------------------------------------------- | ||
UTF8_BINARY 151 153 2 0.7 1509.5 1.0X | ||
UTF8_LCASE 149 151 1 0.7 1494.8 1.0X | ||
UNICODE 150 153 2 0.7 1499.1 1.0X | ||
UNICODE_CI 151 154 3 0.7 1506.8 1.0X | ||
|
||
OpenJDK 64-Bit Server VM 21.0.5+11-LTS on Linux 6.8.0-1017-aws | ||
Intel(R) Xeon(R) CPU E5-2686 v4 @ 2.30GHz | ||
collation unit benchmarks - initCap using impl execLowercase: Best Time(ms) Avg Time(ms) Stdev(ms) Rate(M/s) Per Row(ns) Relative time | ||
-------------------------------------------------------------------------------------------------------------------------------------------- | ||
UTF8_BINARY 499 506 6 0.2 4994.5 1.0X | ||
UTF8_LCASE 501 503 2 0.2 5007.7 1.0X | ||
UNICODE 504 511 8 0.2 5040.8 1.0X | ||
UNICODE_CI 507 511 4 0.2 5071.7 1.0X | ||
|
Oops, something went wrong.