Last active
December 17, 2015 01:49
-
-
Save maniksurtani/5531469 to your computer and use it in GitHub Desktop.
Bad code
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Date timeStart1 = new Date(); | |
// do some work | |
long timeDiff = Math.abs(new Date().getTime() - timeStart1.getTime()); | |
log.debug("Duration(ms)..."+timeDiff+ "\n"+ "\n"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment