cloud-fan commented on a change in pull request #32407:
URL: https://github.com/apache/spark/pull/32407#discussion_r627926417
##########
File path: sql/core/benchmarks/FunctionBenchmark-jdk11-results.txt
##########
@@ -0,0 +1,44 @@
+OpenJDK 64-Bit Server VM 11.0.11+9-LTS on Linux 5.4.0-1046-azure
+Intel(R) Xeon(R) CPU E5-2673 v3 @ 2.40GHz
+scalar function (long + long) -> long, result_nullable = true codegen = true:
Best Time(ms) Avg Time(ms) Stdev(ms) Rate(M/s) Per Row(ns) Relative
+------------------------------------------------------------------------------------------------------------------------------------------------------------
+with native_long_add
13448 13658 337 37.2 26.9 1.0X
+with java_long_add_default
110416 111415 1142 4.5 220.8 0.1X
+with java_long_add_magic
17072 17128 50 29.3 34.1 0.8X
+with java_long_add_static_magic
15912 16121 189 31.4 31.8 0.8X
+with scala_long_add_default
114506 114714 342 4.4 229.0 0.1X
+with scala_long_add_magic
16589 16858 457 30.1 33.2 0.8X
+
+OpenJDK 64-Bit Server VM 11.0.11+9-LTS on Linux 5.4.0-1046-azure
+Intel(R) Xeon(R) CPU E5-2673 v3 @ 2.40GHz
+scalar function (long + long) -> long, result_nullable = false codegen = true:
Best Time(ms) Avg Time(ms) Stdev(ms) Rate(M/s) Per Row(ns) Relative
+-------------------------------------------------------------------------------------------------------------------------------------------------------------
+with native_long_add
14448 14633 274 34.6 28.9 1.0X
+with java_long_add_default
68122 68223 129 7.3 136.2 0.2X
+with java_long_add_magic
16724 16792 93 29.9 33.4 0.9X
+with java_long_add_static_magic
14704 14761 95 34.0 29.4 1.0X
Review comment:
wow this is on par with the native one!
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]