Github user zero323 commented on the pull request:

    https://github.com/apache/spark/pull/9099#issuecomment-147799470
  
    @shivaram  
    
    Spark 1.5.1
    
    ```
    df <- read.csv("flights.csv")
    microbenchmark::microbenchmark(createDataFrame(sqlContext, df), times=3)
    
    ## Unit: seconds
    ##                             expr      min       lq     mean   median     
  uq
    ##  createDataFrame(sqlContext, df) 96.41565 97.19515 99.08441 97.97465 
100.4188
    ##       max neval
    ##  102.8629     3
    ```
    
    After patch on 1.6:
    ```
    df <- read.csv("flights.csv")
    microbenchmark::microbenchmark(createDataFrame(sqlContext, df), times=5)
    
    ##                           expr      min       lq     mean   median       
uq
    ## createDataFrame(sqlContext, df) 5.366246 5.862174 6.353852 6.033105 
6.156628
    ##      max neval
    ##  8.351105     5
    ```



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

Reply via email to