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
b6c569f
commit 5bf2fba
Showing
5 changed files
with
325 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.4+7-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 1353 1 0.1 13526.6 1.0X | ||
UTF8_LCASE 2703 2705 3 0.0 27032.4 2.0X | ||
UNICODE 16848 16894 65 0.0 168482.9 12.5X | ||
UNICODE_CI 16362 16367 8 0.0 163615.6 12.1X | ||
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.4+7-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 2640 2642 3 0.0 26401.5 1.0X | ||
UTF8_LCASE 3616 3618 2 0.0 36164.8 1.4X | ||
UNICODE 17465 17470 7 0.0 174650.9 6.6X | ||
UNICODE_CI 17251 17264 18 0.0 172510.9 6.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.4+7-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 2843 2844 1 0.0 28427.2 1.0X | ||
UTF8_LCASE 5417 5437 28 0.0 54170.7 1.9X | ||
UNICODE 68601 68619 26 0.0 686010.8 24.1X | ||
UNICODE_CI 56342 56361 26 0.0 563422.2 19.8X | ||
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.4+7-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 7674 7674 1 0.0 76735.3 1.0X | ||
UTF8_LCASE 20367 20376 14 0.0 203665.1 2.7X | ||
UNICODE 377133 377909 1098 0.0 3771328.8 49.1X | ||
UNICODE_CI 434710 435099 551 0.0 4347097.2 56.7X | ||
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.4+7-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 6956 6959 4 0.0 69561.7 1.0X | ||
UTF8_LCASE 14246 14262 23 0.0 142459.6 2.0X | ||
UNICODE 369940 370072 186 0.0 3699400.9 53.2X | ||
UNICODE_CI 442072 442365 414 0.0 4420718.1 63.6X | ||
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.4+7-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 6927 6927 0 0.0 69265.2 1.0X | ||
UTF8_LCASE 15505 15514 12 0.0 155054.5 2.2X | ||
UNICODE 382361 382426 93 0.0 3823606.6 55.2X | ||
UNICODE_CI 449956 450063 151 0.0 4499562.9 65.0X | ||
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 10 11 1 9.7 102.6 1.0X | ||
UNICODE_CI 12 12 1 8.4 118.8 1.2X | ||
|
||
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 2 2 0 64.6 15.5 1.0X | ||
UTF8_LCASE 2 2 0 64.2 15.6 1.0X | ||
UNICODE 3 3 0 31.0 32.3 2.1X | ||
UNICODE_CI 5 5 0 20.4 49.1 3.2X | ||
|
||
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 1 1 0 93.6 10.7 1.0X | ||
UTF8_LCASE 1 1 0 92.7 10.8 1.0X | ||
UNICODE 3 3 0 39.1 25.6 2.4X | ||
UNICODE_CI 4 4 0 23.5 42.6 4.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 8 9 1 12.0 83.6 1.0X | ||
UTF8_LCASE 8 9 1 11.9 84.4 1.0X | ||
UNICODE 10 10 1 10.2 98.4 1.2X | ||
UNICODE_CI 12 12 1 8.6 116.3 1.4X | ||
|
Oops, something went wrong.