Github user cloud-fan commented on a diff in the pull request:
https://github.com/apache/spark/pull/10917#discussion_r52111265
--- Diff:
sql/catalyst/src/test/scala/org/apache/spark/sql/HashBenchmark.scala ---
@@ -87,18 +92,39 @@ object HashBenchmark {
.add("binary", BinaryType)
.add("date", DateType)
.add("timestamp", TimestampType)
- test("normal", normal, 128)
+ /*
+ Intel(R) Core(TM) i7-4960HQ CPU @ 2.60GHz
+ Hash For normal: Best/Avg Time(ms) Rate(M/s)
Per Row(ns) Relative
+
-------------------------------------------------------------------------------------------
+ interpreted version 2209 / 2271 0.9
1053.4 1.0X
+ codegen version 1887 / 2018 1.1
899.9 1.2X
--- End diff --
codegen version is 20% faster, because it doesn't have runtime reflection.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]