Github user cloud-fan commented on the pull request:

    https://github.com/apache/spark/pull/12087#issuecomment-205848733
  
    benchmark added, the result is included in the benchmark code. I also ran 
this benchmark against master branch, the result is:
    ```
    Java HotSpot(TM) 64-Bit Server VM 1.8.0_60-b27 on Mac OS X 10.11.4
    Intel(R) Core(TM) i7-4960HQ CPU @ 2.60GHz
    Dataset.map:                        Best/Avg Time(ms)    Rate(M/s)   Per 
Row(ns)   Relative
    
-------------------------------------------------------------------------------------------
    scala function                           2471 / 2531          4.0         
247.1       1.0X
    java function                            2416 / 2478          4.1         
241.6       1.0X
    ```
    
    So with whole stage codegen, we can get about 2.5 times speed up!


---
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

Reply via email to