[ 
https://issues.apache.org/jira/browse/ATLAS-3134?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

bd2019us updated ATLAS-3134:
----------------------------
    Attachment: 1.patch

> Change java.util.Date.getTime() to java.lang.System.currentTimeMillis() to 
> improve performance
> ----------------------------------------------------------------------------------------------
>
>                 Key: ATLAS-3134
>                 URL: https://issues.apache.org/jira/browse/ATLAS-3134
>             Project: Atlas
>          Issue Type: Bug
>            Reporter: bd2019us
>            Priority: Major
>         Attachments: 1.patch
>
>
> {color:#333333}java.util.Date.getTime() is a thin wrapper around 
> System.currentTimeMillis().  It will improve performance by using 
> System.currentTimeMillis().  For example, I have run both of them for 
> 5,000,000 times and the running time is 2073ms vs 435ms{color}
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to