Github user gatorsmile commented on a diff in the pull request: https://github.com/apache/spark/pull/11209#discussion_r72896977 --- Diff: sql/catalyst/src/test/scala/org/apache/spark/sql/HashBenchmark.scala --- @@ -119,11 +146,12 @@ object HashBenchmark { .add("map", mapOfInt) .add("mapOfMap", MapType(IntegerType, mapOfInt)) /* - Intel(R) Core(TM) i7-4960HQ CPU @ 2.60GHz + Intel(R) Core(TM) i7-4750HQ CPU @ 2.00GHz Hash For map: Best/Avg Time(ms) Rate(M/s) Per Row(ns) Relative ------------------------------------------------------------------------------------------- - interpreted version 1820 / 1861 0.0 444347.2 1.0X - codegen version 205 / 223 0.0 49936.5 8.9X + interpreted version 1612 / 1618 0.0 393553.4 1.0X + codegen version 149 / 150 0.0 36381.2 10.8X + codegen version 64-bit 144 / 145 0.0 35122.1 11.2X */ --- End diff -- I am seeing totally different results. ``` Java HotSpot(TM) 64-Bit Server VM 1.7.0_80-b15 on Mac OS X 10.11.6 Intel(R) Core(TM) i7-4870HQ CPU @ 2.50GHz Hash For map: Best/Avg Time(ms) Rate(M/s) Per Row(ns) Relative ------------------------------------------------------------------------------------------------ interpreted version 0 / 0 85.3 11.7 1.0X codegen version 215 / 231 0.0 52443.1 0.0X codegen version 64-bit 160 / 173 0.0 38973.6 0.0X ```
--- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org