spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tianyi <...@git.apache.org>
Subject [GitHub] spark pull request: [SPARK-4483][SQL]Optimization about reduce mem...
Date Tue, 25 Nov 2014 06:33:01 GMT
Github user tianyi commented on the pull request:

    https://github.com/apache/spark/pull/3375#issuecomment-64316338
  
    I made some optimization for the performance. Here is the result:
    
    the test data is generated by the following script
    
    generator.sh
    ```
    for((i=1;i<=$1;i++))
    do
    echo $i",abcdefghijklmn"
    done
    ```
    
    benchmark codes:
    https://gist.github.com/tianyi/7b61e1195b5d5e1fdb1f
    
    for 
    table test_csv contain 1 million records
    table dim_csv contain 10 thousand records
    
    the result is:
    master:
    ```
    CSV: 12671 ms
    CSV: 9021 ms
    CSV: 9200 ms
    Current Mem Usage:787788984
    ```
    after patch´╝Ü
    ```
    CSV: 10382 ms
    CSV: 7543 ms
    CSV: 7469 ms
    Current Mem Usage:208145728
    ```



---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


Mime
View raw message