You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by carsonwang <gi...@git.apache.org> on 2016/02/04 02:41:15 UTC

[GitHub] spark pull request: [SPARK-13100] [SQL] improving the performance ...

Github user carsonwang commented on the pull request:

    https://github.com/apache/spark/pull/10994#issuecomment-179567757
  
    I think we should also reusing a Calendar object in each thread. It is expensive to create java Calendar and Timezone objects each time the method is called. I noticed the same problem and I saw performance boost if reusing these objects. The duration of one stage was improved from 1.6 minutes to 1.2 minutes. @wangyang1992 @rxin 


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